Code:
Creep0 lvl1
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
CreepVariable[0] Equal to (Dying unit)
Actions
Unit - Suspend corpse decay for CreepVariable[0]
Wait 20.00 seconds
Unit - Create 1 Mugger (Level1) for Neutral Hostile at (Position of CreepVariable[0]) facing (Position of CreepVariable[0])
Set CreepVariable[1] = (Last created unit)
Unit - Remove CreepVariable[0] from the game
I tried to use this link I saw in an other thread, but I'm not totally understanding it: http://www.jx3.net/TDG/wiki/index.ph...ng_Point_Leaks
Thanks for your time.
EDIT: I fixed my own problem, so I no longer need help, but still thanks for your time.|||Here you go, just in case you might need it.
Code:
Creep0 lvl1
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
CreepVariable[0] Equal to (Dying unit)
Actions
Unit - Suspend corpse decay for CreepVariable[0]
Wait 20.00 seconds
Set memorypoint = (Position of CreepVariable[0])
Unit - Create 1 Mugger (Level1) for Neutral Hostile at memorypoint facing (Position of CreepVariable[0])
Custom script: call RemoveLocation (udg_memorypoint)
Set CreepVariable[1] = (Last created unit)
Unit - Remove CreepVariable[0] from the game
No comments:
Post a Comment