- Joined
- Oct 10, 2009
- Messages
- 1,426
FIXED
I'm getting an error in this code
im getting the error: symbol AddResourceAmountBJ multiply defined
what exactly does that mean? I've looked everywhere for this problem to no avail, before i finally decided to post my problem.
NOTE:i realize this trigger currently wont do anything, because i haven't set the unit or the integer but thats later. right now I'm trying to fix this problem.
NOTE2: I'm not 100% sure if this is the right section to put this in, but it's the best section I've found.
I'm getting an error in this code
JASS:
function Trig_Set_Gold_Actions takes nothing returns nothing
endfunction
function AddResourceAmountBJ takes integer delta, unit whichUnit returns nothing
call AddResourceAmount(whichUnit, delta)
endfunction
//===========================================================================
function InitTrig_Set_Gold takes nothing returns nothing
set gg_trg_Set_Gold = CreateTrigger( )
call TriggerAddAction( gg_trg_Set_Gold, function Trig_Set_Gold_Actions )
endfunction
im getting the error: symbol AddResourceAmountBJ multiply defined
what exactly does that mean? I've looked everywhere for this problem to no avail, before i finally decided to post my problem.
NOTE:i realize this trigger currently wont do anything, because i haven't set the unit or the integer but thats later. right now I'm trying to fix this problem.
NOTE2: I'm not 100% sure if this is the right section to put this in, but it's the best section I've found.
Last edited: