Hello everyone , how could I make a casting system where people have to use th required signs to cast a spell . For example , player uses abilities fire + fire + wind and then it automatically casts fire breath (or w/e that pandaren skill is called) xD if u can , help me
Well, that's isn't so hard. For example if you should have 4 elements, or as many you posess, you activate them 3 times to summon a spell. In your example you mentioned fire + fire + wind. You should create integers with arrays, for example Fire[
index]. When you use fire ability, the variable can be set this way.
-
Set Fire[1] = Fire[1] + 1
In your example, you cast fire twice and wind once, so it would be (if you are player 1, the first number is 1). Triggers detects the triggering units playernumber.
Fire[1] = 2
Wind[1] = 1
Now, theres a trigger which detects all those elemental integers, if their total sum is 3, a spell is made. You can add a temporary one shot skill to your hero, which has be cast within 5 sec and a wait timer with 5 sec delay will automatically remove the added spell, with 5 second cooldown, the skill can only be cast once, then removed afterwards.
Now as you have performed your combo, the spell is ready to be cast.
StasMaN said:
well its pretty hard to come up with something unique these days
I think my suggestion is quite unique, unless I accidently resuggested someone exact recipe to create a special casting system.
Of course this requires a lot of triggering. I was just suggesting an idea how you should start. I assume you have some knowledge in triggering...
Edit_
btw heres a recent map which uses invoker system
Invoker_War_v2.3