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:
- attack[0] is choosen.
- the attack function is called . How?