ID:142217
 
Code:
var/damage = rand(1,6)


Problem description:

When compiled in the project, this line gives me an error that says that rand() is an undefined proc. Is there any way I can fix this?
Hey, i dont think it means rand is undefined because this looks fine to me, so please show more of the procedure rand was used in...

-SubZeroChaos
You don't need the pather operator : to access a global proc

just use var/damage = rand(1,6)
In response to StolenSoul
Nevermind. I have no clue what the problem was, but it resolved itself when I removed an indent. I have no clue why it did it, because normally it would give me an "Inconsistent indentation" if I didn't have it there... Strange... Nevertheless, thank you for your input.