Quote: "man this isn't working for me
when i shot the character he just keep moving forward forever and i get no money ! WHERE'S MY MONEY !!!!!!
i'm trying to figure what's wrong with the script, but i'm not getting anywhere so far...
"
;Artificial Intelligence Script
;Header
desc = Leave corpse AND Give money
;Triggers
:state=0:state=1,suspend,coloff
:state=1:,state=10
:state=10,addvar=cecashcounter 100,addvar=deathcount 1,playertake,coloff,plrsound=audiobank\misc\ping.wav,:fpgcrawtextsize=18,fpgcrawtextfont=arial,fpgcrawtextr=200,fpgcrawtextg=200,fpgcrawtextb=200,fpgcrawtextx=50,fpgcrawtexty=70,fpgcrawtext=+100$:state=2
:state=1:rundecal=5
;End of Script
Quote: ":state=1:,state=10"
At state 1 i put that there to start the script then used a : and a
, to seperate the command
Quote: ":state=10,addvar=cecashcounter 100,addvar=deathcount 1,"
At state=10, addvar adds to the variable + cecashcounter 100 is adding 100 to the cash variable also for the death count
do you see what i removed from the script.....
plrdistwithin=40 i removed that so once the enemy dies the money adds instead of you having to come close to where the enemy died to pick it up
Joey-May god have mercy upon my enemies, because I won't.
Favourite Game-Call Of Duty MW2