- Joined
- Nov 30, 2007
- Messages
- 1,202
I'm trying to use these variables in my code but it states that they are undeclared, no idea why this is the case:
Compile errors:
I don't know what more to say that I'm using the variable gg_unit_hbar_0000 in another scope and if I disable the usage, this error does not appear.
Compile errors:
JASS:
//***************************************************************************
//*
//* Unit Creation
//*
//***************************************************************************
//===========================================================================
function CreateBuildingsForPlayer0 takes nothing returns nothing
local player p= Player(0)
local unit u
local integer unitID
local trigger t
local real life
set gg_unit_hbar_0000=CreateUnit(p, 'hbar', - 12832.0, 2464.0, 270.000)
set gg_unit_hbar_0001=CreateUnit(p, 'hbar', - 14560.0, 2528.0, 270.000)
set gg_unit_hbar_0002=CreateUnit(p, 'hbar', - 14816.0, 1632.0, 270.000)
endfunction
I don't know what more to say that I'm using the variable gg_unit_hbar_0000 in another scope and if I disable the usage, this error does not appear.