IfPlayerWasHere()
On this page
IfPlayerWasHere(scene_id: String) -> boolCompatibility query for the current player’s room visit history.
Returns: Boolean.
IfPlayerWasHere("lab")IfPlayerWasNeverHere()#
IfPlayerWasNeverHere(scene_id: String) -> boolComplement of the player-visit query.
Returns: Boolean.
IfPlayerWasNeverHere("lab")IfVariable()#
IfVariable(variable_id: String, expected_value: Variant = true) -> boolCompare a runtime game variable with an expected value.
Returns: Boolean.
IfVariable("powered", true)This does not read a same-named local/member variable.
IfInventoryItemWasUsed()#
IfInventoryItemWasUsed(item_id: String) -> boolCheck the inventory item supplied by the current interaction context.
Returns: Boolean.
IfInventoryItemWasUsed("key")A direct Run can have no item context. Possession is a separate query.
