WarLuvr3393
Hmmm...too many things to play (WoW, COD4, WC3)
- Reaction score
- 54
There was an error in the generated map script where the units are created at certain rects. Take a look at the sample:
For some reason, it's giving me an error stating the variable "gg_unit_h000_XXXX" was NOT declared and these units are currently pre-placed on the map.
What's the problem here?
Code:
//***************************************************************************
//*
//* Unit Creation
//*
//***************************************************************************
//===========================================================================
function CreateUnitsForPlayer0 takes nothing returns nothing
local player p= Player(0)
local unit u
local integer unitID
local trigger t
local real life
set gg_unit_h000_0011 = CreateUnit(p , 'h000' , - 2905.4 , - 3069.9 , 270.000)
endfunction
For some reason, it's giving me an error stating the variable "gg_unit_h000_XXXX" was NOT declared and these units are currently pre-placed on the map.
What's the problem here?