[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.
<RefObj> = The object, which is currently attacked by marines.
This command returns the number of marines, who are currently boarding the <RefObj>. The marines must be already in the ship, so that the command will return other values than '0'.
If there are no marines boarding the <RefObj> the command will return '0'.
Example:
$target = get player tracking aim
$number = $target -> get number of marines attacking
write to player logbook $number
return null
This writes the number of marines, who are boarding the player's target, to the logbook.
Note:
During the boarding process it's possible that marines die. That's why using this command at the beginning of a boarding process may return a different number than at a later stage.
Command Location:
- »» Trade Commands
- »» Passengers
<RetVar/IF><RefObj> get number of marines attacking
- »» Passengers