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

HOw do you make a unit use unsubmerge spell? + rep

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
Im trying to make the AI use unsubmerge. Can some one pls show me the trigger.

And where to find everything.

this is the trigger at the moment.

  • Use Meat Hook
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Unit = (Random unit from AI_Group)
      • Set temp_Group = (Units in Arena <gen> matching ((((Matching unit) belongs to an enemy of (Owner of Temp_Unit)) Equal to True) and (((Matching unit) is dead) Equal to False)))
      • Unit - Order Temp_Unit to Undead Death Knight - Death Pact (Random unit from temp_Group)
      • Custom script: call DestroyGroup(udg_temp_Group)
Its based on death coil but use unsubmerge and it need to have this to be working for some reason. help pls.
 
Level 25
Joined
May 11, 2007
Messages
4,651
What? Submerge is based on Death coil?

You order a unit to cast a spell every 0.10 seconds, so he's going to switch targets before he manages to cast the spell.

And the Trigger is called "Use Meat Hook"?
 
Status
Not open for further replies.
Top