[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = The variable where the requested information is stored. This will be an array.
<RefObj> = The object that the command is to be run on. Valid objects are ships and stations.
Returns the marines onboard the selected <RefObj> as an array.
Example:
Let's say you have two marines onboard your ship.
$marines.arr = [PLAYERSHIP] -> get marines array
write to player logbook $marines.arr
return null
This will write the names of the marines onboard the [PLAYERSHIP] to the logbook in the format: Array ( Ho t'Nst, Mo t'Nnt )
Related Commands:
<RetVar/IF><RefObj> get passenger array
Command Location:
- »» Trade Commands
- »» Passengers
<RetVar/IF><RefObj> get marines array
- »» Passengers