Hi! I've just started to create simple triggers with GUI and I've ran into a problem
What I'm trying to create is a special effect that fires at the location of a dropped item. The dropped item is also removed in the process. I've been trying to figure out why special effect fires at the wrong locations instead of the location where I last dropped the item, before it was removed.
I bet I'm just missing something very obvious to everyone else. Thanks in advance!
What I'm trying to create is a special effect that fires at the location of a dropped item. The dropped item is also removed in the process. I've been trying to figure out why special effect fires at the wrong locations instead of the location where I last dropped the item, before it was removed.
I bet I'm just missing something very obvious to everyone else. Thanks in advance!
-
Weapon Drop
-
Events
- Unit - A unit Loses an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Iron Longsword
-
Actions
- Set Temp_Point = (Position of (Item being manipulated))
- Special Effect - Create a special effect at Temp_Point using Abilities\Spells\Human\Polymorph\PolyMorphTarget.mdl
- Item - Remove (Item being manipulated)
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation (udg_Temp_Point)
-
Events
Last edited: