- Joined
- May 28, 2011
- Messages
- 455
Can anyone help me?
I am making an arena map. Each hero has 5 abilities. Im GUI user.
The problem is i should declare variables for a particular ability or declare variables for all ability?
For example, for war stomp, instead of declare WS_Caster, WS_CasterPoint (WS indicates warstomp) can i just declare Spell_Caster, Spell_CasterPoint?
So that the variable can be use for another abilities? is this possible?
i had tried with spell_varName[spell_index[player_number]]
spell_index is integer array variable for mui purpose.
player_number to differ index among players.
i thought if i declare variables for a particular ability, the variable will be too many.
Therefore, what is the suitable algorithm to make hero ability trigger?
Sorry for bad english. hehe
I am making an arena map. Each hero has 5 abilities. Im GUI user.
The problem is i should declare variables for a particular ability or declare variables for all ability?
For example, for war stomp, instead of declare WS_Caster, WS_CasterPoint (WS indicates warstomp) can i just declare Spell_Caster, Spell_CasterPoint?
So that the variable can be use for another abilities? is this possible?
i had tried with spell_varName[spell_index[player_number]]
spell_index is integer array variable for mui purpose.
player_number to differ index among players.
i thought if i declare variables for a particular ability, the variable will be too many.
Therefore, what is the suitable algorithm to make hero ability trigger?
Sorry for bad english. hehe