• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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