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

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