HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell trigger

04-17-2004, 07:02 PM#1
Kilala
I've been wondering is there a tigger that can allow u to type the spell name and then it be cast by the message and if so how do i do it
04-17-2004, 07:21 PM#2
ThyFlame
Player 1 types a message matching exactly Spellname

[Assuming the spell targets a unit]

Order [unit] to do ability [base ability of the spell] targeting [target unit]


Target unit would basically have to be a random unit within spell range, so.

targeting [random unit within 500 of [unit].

You'll have to define the unit before hand.



Example: If each player has a single hero, set unit variable array[1] = player 1's hero, [2] = player 2's hero, etc.

Order array[playernumber of triggering unit] to do [base ability] targeting [whatever]