sylvannis mb
New Member
- Reaction score
- 6
Ok people,
my top secret game i'm making uses typed commands to cast spells, using triggers, but i want to know if there is a way for them to type a spell name, and the trigger will recognies the spell name, and use that spell. I have tried saving the string as a variable, but i cant find a way to find the corresponding spell from there.
I could do this the long way by inputing
Player 1(red) says "spell name"
Event:
Spell occurs
bla bla
but i plan to be making probably over 100 spells, and the time that would take me to set the triggers for all of them is dautning.
any help would be appreciated. Thx
my top secret game i'm making uses typed commands to cast spells, using triggers, but i want to know if there is a way for them to type a spell name, and the trigger will recognies the spell name, and use that spell. I have tried saving the string as a variable, but i cant find a way to find the corresponding spell from there.
I could do this the long way by inputing
Player 1(red) says "spell name"
Event:
Spell occurs
bla bla
but i plan to be making probably over 100 spells, and the time that would take me to set the triggers for all of them is dautning.
any help would be appreciated. Thx