Category: Component
Parent class: COMPONENT
GAME_OBJECT
GAME_OBJECT value
void setActivityMessage(message)
Deprecated since version 1.8; use ActivityMessage property instead
Name | Type | Description |
---|---|---|
message | string |
boolean isOnWater()
AGENT_PROFILE getProfile()
void setVehicle(vehicle)
Assign the vehicle to the agent. This does not destroy previously assigned vehicle.
Name | Type | Description |
---|---|---|
vehicle | COMP_VEHICLE |
COMP_VEHICLE getVehicle()
boolean isOnBoat()
void die()
This will make the agent die during his next update().
ON_DYING()
ON_VEHICLE_CHANGED(COMP_VEHICLE previousVehicle, COMP_VEHICLE newVehicle)