• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 33
Joined
Mar 27, 2008
Messages
8,035
Okay, let me conclude this up:
A unit builds a building -> The building produce A unit -> The produce unit can't move/active -> The builder of the building will automatically possess the trained unit -> builder vanish , trained unit active.
Like that ?
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
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