[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = Use a variable, if the command should return information. If a variable is used, the command will return 1 on success and 0 on failure.
<RefObj> = The passenger you want to destroy.
This command will destroy the as <RefObj> selected passenger.
Example:
$passenger.arr = [PLAYERSHIP] -> get passenger array
$passenger = $passenger.arr[0]
= $passenger -> destroy passenger
return null
This gets all passengers onboard the [PLAYERSHIP] and destroys one of them.
Command Location:
- »» Trade Commands
- »» Passengers
<RetVar/IF><RefObj> destroy passenger
- »» Passengers