• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[vJASS] Stun System

Status
Not open for further replies.
Level 6
Joined
Mar 26, 2008
Messages
239
Hi!
I'm making a map called WotL,and I'm working now to make it 1.24 compatible without losing abilities and other triggers.
That is why need a system,that uses only 1 ability and 1 buff,with which I can stun anybody anywhere for X duration by typing only one line.There must also be check of spell invulnerability.
Example:
JASS:
call StunUnit (GetTriggerUnit() , 2.00 , false)
It should mean that triggering unit should be stunned for 2.00 seconds,no matter if he is invulnerable to magic or not (true - check, false - without check)
 
Status
Not open for further replies.
Top