• 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.

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,650
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