- Joined
- Sep 8, 2008
- Messages
- 8
I need a trigger that can spawn a unit when the corresponding spell is cast. Then order the spawned unit, and only that unit, to move instantly to the location of the unit that cast the spell originally every 5 seconds. This spell is only usable at night, (I have that covered in the object editor,) and once day time comes, i need the unit that has been teleporting, to transform into a different unit.
Wow, now that sounds confusing. Let me break that down. The unit im working with has two different forms. During the day it is a fast moving unit that can walk through other units and buildings. When night comes it can optionally transform into a stronger form (which i based off of the Gargoyle stone form,) which can use the ability i am currently having issues with.
The spell is based off of devour, and is meant to consume the enemy unit. Once the unit is trapped, I want to spawn a "ghost" like unit behind the consuming unit. I want this unit to belong not to the player whose unit was consumed, but to the player which did the consuming.
Every 5 seconds I want the created "ghost" to teleport to the consuming units location, since it is unable to move on its own. If this is too complicated, it would be an equally good substitute If you could get the unit to merely follow the consuming unit. Once daylight comes, (6:00 am in the game,) I want the "ghost" to die, and a new unit to be spawned in its place, that belongs to the player who owned the consuming unit.
wow... yea. I could not fit it all into one trigger, and when I attemtped in multiple triggers, i could not link them together. If this is not do-able, it would be perfect to merely have the consumed unit become the new unit at day break, and forget the entire "ghost" unit Idea. If your advice is helpful I will include you on the credits of my map. So... yea, thanks people.
Wow, now that sounds confusing. Let me break that down. The unit im working with has two different forms. During the day it is a fast moving unit that can walk through other units and buildings. When night comes it can optionally transform into a stronger form (which i based off of the Gargoyle stone form,) which can use the ability i am currently having issues with.
The spell is based off of devour, and is meant to consume the enemy unit. Once the unit is trapped, I want to spawn a "ghost" like unit behind the consuming unit. I want this unit to belong not to the player whose unit was consumed, but to the player which did the consuming.
Every 5 seconds I want the created "ghost" to teleport to the consuming units location, since it is unable to move on its own. If this is too complicated, it would be an equally good substitute If you could get the unit to merely follow the consuming unit. Once daylight comes, (6:00 am in the game,) I want the "ghost" to die, and a new unit to be spawned in its place, that belongs to the player who owned the consuming unit.
wow... yea. I could not fit it all into one trigger, and when I attemtped in multiple triggers, i could not link them together. If this is not do-able, it would be perfect to merely have the consumed unit become the new unit at day break, and forget the entire "ghost" unit Idea. If your advice is helpful I will include you on the credits of my map. So... yea, thanks people.