• 🏆 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!

[Trigger] Help ! i need a wait system ! +REP

Status
Not open for further replies.
Level 4
Joined
Apr 11, 2009
Messages
26
Help i need a wait system for several spells im making i will give +rep for anyone who can assist. here is the map.
The spell -CuT- is glitching, the abils i add to the target unit dont get removed.
 

Attachments

  • AoS-Lon Deprotected.w3x
    215.8 KB · Views: 46
Level 28
Joined
Jan 26, 2007
Messages
4,789
The reason that it doesn't work is because the "Target unit of Ability being cast" isn't that unit anymore after a wait (no matter how short it is), it doesn't recognize the unit anymore.
Set it the unit to a variable (yeah, with an array... to make it MPI) then remove the ability from the variable-unit.

I would also suggest:
- Not using waits (use timers instead)
- Removing the leaks
- Improving the terrain (a lot), it's too plain now, the tile variation is bad and try to stay away from blizzard cliffs.
- Add some original features.
 
Status
Not open for further replies.
Top