• 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.

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