- Joined
- Sep 28, 2011
- Messages
- 968
I tryed to make a mod where there is approx 600 spells and where each spell have a differant effect. But or I need to make hundreds of if then else or I need to make hundreds of triggers whith conditions so I think that if they were a way to make an action in function of an array variable would make all easy.For example I want to lower life of one unit in one of my spell I set a variable to call "SetWidgetLife(udg_U,100)" and when the spell is casted it apply the variable code.But I think it is not possible I tryed three times in three differant ways.