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

Capture a unit inside a Soul Gem

Status
Not open for further replies.
Level 13
Joined
Jan 2, 2016
Messages
978
Well, when you select the Soul Gem, it tells you if it's empty or it has a soul in it. It even tells you what soul it holds (lesser, grand, black, etc)..
Yet if you aren't talking about Elder Scrolls' soul gems, then you probobly need to set a variable when capturing the soul, and then check the variable.
If you have only "full" and "empty", then a boolean would be sufficient, and if you have more soul-types, then you need to use integer.
Or perhaps you could use several items - 1 for each state of the soul gem. And then check the item type.
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
I would guess that you detect when the item ability is cast.
Triggering Unit for the unit using the item, and ability target for the captured unit.
Yeah, that actaully worked, but still I presume that when a hero is captured within a soul gem it can not be ''teleported'' to the next level (Map)
I would have to store the hero in order to move it to the next level
 
Status
Not open for further replies.
Top