Macsy
May 31st, 2007, 04:28 AM
Hi.
Im making a RPG game, like Final Fantasy / Zelda type.
A players attacktypes is in an array:
like :
attacks = [melee,ice,fire]
Then when a for loop and some programming the player can choose witch skill to use.
Any good idea on how to tell what function to run?
Like:
1. attack[0] is choosen.
2. the attack function is called . How?
Im making a RPG game, like Final Fantasy / Zelda type.
A players attacktypes is in an array:
like :
attacks = [melee,ice,fire]
Then when a for loop and some programming the player can choose witch skill to use.
Any good idea on how to tell what function to run?
Like:
1. attack[0] is choosen.
2. the attack function is called . How?