[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 enslave.
This command will ensalve the as <RefObj> selected passenger. Afterwards this passenger will be stored as ware 'Slaves' in the ship's cargohold.
Example:
$passenger.arr = [PLAYERSHIP] -> get passenger array
$size.passenger.arr = size of array $passenger.arr
$passenger = $passenger.arr[0]
= $passenger -> enslave passenger
return null
This gets all passengers onboard the [PLAYERSHIP] and enslaves one of them.
Note:
Some of the main races regard 'Slaves' as illegal.
Command Location:
- »» Trade Commands
- »» Passengers
<RetVar/IF><RefObj> enslave passenger
- »» Passengers