• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Inactive body and possession spell

Status
Not open for further replies.
Hello
So here is my problem: I need that somes unit wont do anything after the training. All unit of the race wont do anything but one: The soul.
The Soul is the builder, it can build building and do all whatg worker do. But it must has a spell: Possession. When an unit is training, it won't do anything, the soul come near the inactive body and will use the possession spell, the soul will disapear and the unit will be active.
So, please, tell me how to do that with less trigger as possible, thanks ;)
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Sounds like this would do it. You can use Possession ability.

  • Untitled Trigger 050
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Trained unit)) Equal to Footman
          • (Unit-type of (Trained unit)) Equal to Knight
    • Actions
      • Unit - Pause (Trained unit)
  • Untitled Trigger 051
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Possession
    • Actions
      • Unit - Unpause (Target unit of ability being cast)
You might not need those unit type conditions.
 
Status
Not open for further replies.
Top