The if_docked mission scripting condition tests if a player ship is docked with a named station.
Attribute
|
Valid Values
|
Optional?
|
Description
|
name
|
text
|
Mandatory
|
The name of the station.
|
player_name |
text |
Optional |
The name of the player ship to test. If this attribute is absent, or if no ship exists with the indicated name, the ship in player slot 0 is tested. This attribute was added in Artemis v2.4. |
To force testing a specific player ship that might or might not exist, this command must be paired with if_exists.
For example:
<if_exists name="Intrepid" />
<if_docked player_name="Intrepid" name="DS1" />
Comments (0)
You don't have permission to comment on this page.