manofsteel
New Member
- Reaction score
- 36
This is just a simple thing thats going to create a unit for each player at there start location, but it dosen't work, for some reason(when I'm player1) the unit is created at player3's start location.
Code:
Code:
JASS:
function Trig_convert_Func001A takes nothing returns nothing
local location p = GetPlayerStartLocationLoc(GetEnumPlayer())
local real x = GetLocationX(p)
local real y = GetLocationY(p)
call CreateUnit(GetEnumPlayer() , 039;h00X039;, x, y, 90)
call RemoveLocation(p)
set p = null
endfunction