[skip|else] if [not]|while [not] = Possible 'conditional' statements that can be used
<RetVar/IF> = The variable where the requested information is put
<RefObj> = The object whose relation you want to check
<Var/Ship/Station> = The object that the relation of <RefObj> shall to be checked
This command returns the relation of <RefObj> to <Var/Ship/Station>. A relation can be 'Friend', 'Neutral' or 'Enemy'.
Note that if the relation of <RefObj> to <Var/Ship/Station> e.g. is 'Friend', it doesn´t mean that the relation of <Var/Ship/Station> to <RefObj> is 'Friend', too.
Example:
$relation = Argon One get relation to object [PLAYERSHIP]
This would return the relation of 'Argon One' to the player ship.
Command Location:
- »» General Object Commands
<RetVar/IF><RefObj> get relation to object <Var/Ship/Station>