The get_object_property mission scripting command copies a named property to a float variable.
Attribute |
Valid Values |
Optional? |
Description |
name |
text |
Absent for global properties. For object properties, you must use one, either name OR player_slot OR use_gm_selection. |
Name of object whose property is to be set. If the object does not exist, the command will be ignored. |
player_slot | 0-7 | Corresponds to the 8 player capital (not fighter) ships allowed in the game | |
use_gm_selection | anything | Use this attribute to use the game master's selected object. | |
property |
text |
Mandatory |
Name of property to set. |
variable |
text |
Mandatory |
Name of the float variable to set. If the name of a previously created integer variable is specified, this command will have no effect. |