• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] possession

How to make trigger?

  • possession

    Votes: 0 0.0%
  • trigger

    Votes: 0 0.0%

  • Total voters
    0
Level 5
Joined
Feb 15, 2021
Messages
21
Hello guys!

I have a lil problem and i need help.

I am making a quest in Warcraft 3 World editor. Old version.

In quest ghost need to use possession spell to back in their body and i want to know how to make a trigger that do when soul (ghost) and his body (body is an enemy) dies in regular way (using attack) the quest gonna fail, but when ghost using possession on body quest gonna move on and player will win.
 
This is a very simple way for what you're looking for to work.

Defeat Condition
  • defeat
    • Events
      • Unit - Footman 0000 <gen> Dies
    • Conditions
    • Actions
      • Game - Defeat Player 1 (Red) with the message: You lost your body forever!
Win Condition
  • Win
    • Events
      • Unit - Footman 0000 <gen> Changes owner
    • Conditions
    • Actions
      • Game - Victory Player 1 (Red) (Show dialogs, Show scores)
 
Last edited:
This is a very simple way for what you're looking for to work.

Defeat Condition
  • defeat
    • Events
      • Unit - Footman 0000 <gen> Dies
    • Conditions
    • Actions
      • Game - Defeat Player 1 (Red) with the message: You lost your body forever!
Win Condition
  • Win
    • Events
      • Unit - Footman 0000 <gen> Changes owner
    • Conditions
    • Actions
      • Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Woow just like that? In my head it was too complicated, but in reality it's too easy! :xxd: Thanks!
 
Woow just like that? In my head it was too complicated, but in reality it's too easy! :xxd: Thanks!
There are several ways to do this. This is just one of them.

The fun now is for you to keep detailing these events more and more with special effects, audio, text, etc.

Explore the GUI without being afraid to make mistakes, and always try to think outside the box in some situations :)
 
There are several ways to do this. This is just one of them.

The fun now is for you to keep detailing these events more and more with special effects, audio, text, etc.

Explore the GUI without being afraid to make mistakes, and always try to think outside the box in some situations :)
yeah.. and I have 3 ghosts, and each ghost need in quest to use possession on each unit. Is that mean i need to make defeat/win conditions for every each unit?
 
yeah.. and I have 3 ghosts, and each ghost need in quest to use possession on each unit. Is that mean i need to make defeat/win conditions for every each unit?
Ok, this makes the system a bit more complex; you will need to use variables.

Create a variable called "bodies".

When a ghost possesses a body (event: Unit changes owner), add +1 to the variable "bodies" in the actions.

Create another trigger with the condition "bodies = 3".

Then add in actions: Game – Victory.

I also recommend that you look up some tutorials about variables, they will help you a lot.
 
Last edited:
Ok, this makes the system a bit more complex; you will need to use variables.

Create a variable called "bodies".

When a ghost possesses a body (event: Unit changes owner), add +1 to the variable "bodies" in the actions.

Create another trigger with the condition "bodies = 3".

Then add in actions: Game – Victory.

I also recommend that you look up some tutorials about variables, they will help you a lot.
Thanks.

I'll see what can i do. I appreciate your help!
 
Back
Top