[skip|else] if [not]|while [not]| = The possible 'conditional' statements that can be used with this command.
<RetVar> = variable where the requested information is put
<RefObj> = The object you want to check
This function returns the true owner of undercover pirate ships and the owner of standard ships. If <RefObj> is not a ship or doesn't exist, it will return null.
Example:
- $owner = $ship -> get owner race
$true = $ship -> get true owner
if $owner != $true
| write to logbook "This is an undercover ship"
end
- »» General Object Commands
<RetVar> = <RefObj> get true owner