[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information. If a variable is used, the command will return here.
<RefObj> = The ship you wish to check to see if it is in 'follow mode'.
Returns [TRUE] if <RefObj> is currently following another object, [FALSE] if not.
Example:
$target = get player tracking aim
skip if not $target is of class ship
| $follow.mode.active = $target -> get follow mode
This will check the state of 'Follow mode' for the selected ship $target and store the result in $follow.mode.active
Related Commands:
<RefObj> set follow mode <Var/Number>
Command Location:
- »» Fly Commands
<RetVar/IF><RefObj> get follow mode