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

possession

Status
Not open for further replies.
Level 2
Joined
Apr 29, 2007
Messages
7
1 i give possession to hero it possess other character and i want the possess character have these 2 ability: Possion and Leave body and the dude can posses another dude and the new posses dude get the same 2 ability and so on now about the Leave body spell will kill the current character and get the hero back
 
Level 8
Joined
Jan 18, 2007
Messages
331
ehm you can create a trigger

  • Events- unit- a unit starts casting an ability
  • Conditions- Spell possesion equal to ability being cast
  • Action-
  • Ability- Give blabla to target of ability being cast
  • Ability- Give blabla to target of ability being cast
And for the kill unit just make a similar trigger but create a unit for owner of unit and then kill the casting unit, or remove it OR hide it if you want to be able to get him back. Mabey you can use a game chache and store the hero, but look at the totorals for this information.
 
Status
Not open for further replies.
Top