| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

command_if_docked

This version was saved 6 years, 1 month ago View current version     Page history
Saved by Dave Thaler
on February 19, 2018 at 6:19:01 pm
 

Updated for v2.7

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 You only need to use one, either name, player_slot, OR use_gm_selection. 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.
player_slot 0-7  (corresponds to the 8 player ships allowed in the game) This attribute was added in Artemis v2.6.3.
use_gm_selection anything Use this attribute to use the game master's selected player ship. (This will fail if the selected object isn't a player ship.)  This attribute was added in Artemis v2.6.3.
not anything   If present, inverts the logic of this command, to test if the player ship is NOT currently docked.  This attribute was added in Artemis v2.6.3.

 

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.