ID:261241
 
I have a var in my mobs var list called mexp (monserexp)
u can set the exp for each mob by this mexp = 5 etc etc, but I am havin trouble putting it into my deathcheck
if (typechar == "monster")
EXP +=mexp
del.src

how would I get this to work
Himura Kenshin wrote:
I have a var in my mobs var list called mexp (monserexp)
u can set the exp for each mob by this mexp = 5 etc etc, but I am havin trouble putting it into my deathcheck
if (typechar == "monster")
EXP +=mexp
del.src

how would I get this to work

It's hard to tell, but it seems to be a matter of scope. EXP and mexp would have to be variables of the same object for something like the above to work, and I doubt that is your intention.

Post a little bit more of the code that surrounds this.