Jooster
New Member
- Reaction score
- 7
alright so i have pre-placed units on the map. determined upon a terrain selection. there are sever rects laid out throughout the map. each unit pre-placed in these regions, if are killed, i would like them to re spawn. i got one alright trigger that gives the unit a integer value and im using
but when its time to respawn the unit back in its allocating spot it will respawn on the exact opposite side of the map or smack in the center of the map.
is there a easier way of going about this? *edit* forgot to mention this. Is it possible to use a custom script that sets the units rect instead of X,Y co-ordinates?
Code:
set udg_Creep_X[udg_TriggerName] = GetUnitX(GetEnumUnit())
set udg_Creep_Y[udg_TriggerName] = GetUnitY(GetEnumUnit())
but when its time to respawn the unit back in its allocating spot it will respawn on the exact opposite side of the map or smack in the center of the map.
is there a easier way of going about this? *edit* forgot to mention this. Is it possible to use a custom script that sets the units rect instead of X,Y co-ordinates?