if_exists


The if_exists mission scripting condition tests if a named object exists right now.

 

Attribute

Valid Values

Optional?

Description

name

text

Mandatory, either name

Name of the object to test. 

player_slot 0-7 or player_slot Slot number of the player ship to test. This is one of the few uses of player_slot that seems to be working properly. (as of 2.4)