• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Symbol Multiply Defined?

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