n[u]ll
You can change this now in User CP.
- Reaction score
- 93
Well, I've got a pretty long JASS function.. So I'll make it short and simple:
I took out as much variables as I could as to make 100% sure it wasnt an error with any of them..
The remaining variables are:
It should spawn the dummy directly on top of my unit, well it does.. But when I call for it's location, it gives me:
If you want the full trig (or map) just say so.
+Rep for any help
JASS:
call CreateUnitAtLoc(Player(bj_PLAYER_NEUTRAL_VICTIM), 039;dumy039;, p2, 0)
call BJDebugMsg(R2S(GetLocationX(GetUnitLoc(GetLastCreatedUnit()))) + " " + R2S(GetLocationY(GetUnitLoc(GetLastCreatedUnit())))) //Retrieve Dummy's location
call BJDebugMsg(R2S(GetLocationX(GetUnitLoc(u))) + " " + R2S(GetLocationY(GetUnitLoc(u)))) //Retrieve MY unit's location
I took out as much variables as I could as to make 100% sure it wasnt an error with any of them..
The remaining variables are:
p2 = My unit's position
u = my unit
It should spawn the dummy directly on top of my unit, well it does.. But when I call for it's location, it gives me:
If you want the full trig (or map) just say so.
+Rep for any help