FutureProg functions
vehicleoccupied
vehicleoccupied overload 1
Boolean vehicleoccupied(Item vehicle)
Available in
- computer function
- computer program
- standard futureprog
Whether a vehicle has assigned occupants, characters in its compartments or offline residents. Invalid vehicles return true. Cargo alone does not count.
| Parameter | Type | Description |
|---|---|---|
vehicle |
Item |
The vehicle exterior. |