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

Help in noob spell (possibly object editor)

Status
Not open for further replies.
Level 9
Joined
Oct 3, 2006
Messages
302
Hello, I am trying to create a spell that when a unit casts a certain spell the unit will transform into a tent and cannot move but will still retain it's identity as a unit variable.
How do I do this?

TY in advanced to all who helped!!
 
Level 9
Joined
Oct 3, 2006
Messages
302
Will the unit still retain it's identitiy as a unit variable?
For example the footman is the one that's gonna become the tent:
There's a trigger that says:
Trigger 0: Map init, set variable = set (footman001) as (footman) / footman is the unit variable btw
Trigger 1: Every 0.05 seconds of game time, follow camera to (footman)

If the footman transforms to tent..will Trigger 1 still work? Or will the camera still focus on the tent every 0.05 seconds of game time?

tnx!! yay!!
 
Level 9
Joined
Apr 3, 2008
Messages
700
Transform? What do you mean?
If you mean transform like a Demon Hunter's untimate ability - so yes, it will work.
But if you want to replace footman with triggers, you need to set the variable again in the trigger when you will replace him.
 
Level 9
Joined
Oct 3, 2006
Messages
302
Yes...demon hunter's ultimate ability...I think that's what I'm referring to...but the tent must not move...I was thinking of the gargoyle stone form ability, but things seem to go wrong everytime I do so. The tent seems to move always.
 
Status
Not open for further replies.
Top