by Ice Cream Jonsey » Sat Dec 10, 2005 1:00 am
Does anyone recall the syntax of a test to determine if an object is currently in scope? For instance, I want the player to be able to access his phone if the phone is anywhere in the room. Something like
if phone.scope = true
then DoDesiredRoutine
or something like
if scope(phone)
then DoDesiredRoutine
... and the worst part is, I know I did this somewhere in Necrotic Drift, I just can't remember where. Heh. I think this is gonna be the thing I push off until morning, I'm all coded out tonight. ^______________________^[/quote]
Does anyone recall the syntax of a test to determine if an object is currently in scope? For instance, I want the player to be able to access his phone if the phone is anywhere in the room. Something like
if phone.scope = true
then DoDesiredRoutine
or something like
if scope(phone)
then DoDesiredRoutine
... and the worst part is, I know I did this somewhere in Necrotic Drift, I just can't remember where. Heh. I think this is gonna be the thing I push off until morning, I'm all coded out tonight. ^______________________^[/quote]