If player is in room...

If (player is in a room) {
  Use earth spell
}

Or something like that.
Will something like...

if (player.parent = room) {
  Spellcode
}

Work?


Should do.

if (game.pov.parent = room) {

is the standard way to do it, but in some circumstances it might be better to use

if (Contains (room, game.pov)) {

Looks good. Thank you!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums