• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Symbol Multiply Defined?

Status
Not open for further replies.
Level 6
Joined
Oct 10, 2009
Messages
1,426
FIXED
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:
Status
Not open for further replies.
Top