turf/Battle var/Occupied //icon='Whatever.dmi'' Area1 Grass_Battle var/Encounter = rand(2,7) //icon_state="Grass" Entered(mob/M) if(istype(M,/mob)) if(Encounter == 3) usr<<"You have run into a Battle!"
Battle.dm:19:error: icon_state: expected end of statement
-Whats wrong with the rand()? I loked it up in the Help/Manual (F1) and I've got ir correct. Is it possible to set a variable like that?