Category: Objects
/ OCF
Since engine version: 1.0 OC
OCF_CrewMember
Description
Object character flag: the object can be made a crew member or already is a crew member, meaning the corresponding DefCore flag is set and the object is alive.
Syntax
int OCF_CrewMember
Remark
For more information and examples on the use of these constants see object character flags.
Objects with the OCF_CrewMember are handled specially in various ways:
Objects with the OCF_CrewMember are handled specially in various ways:
- Will use pathfinding even if the PathFinder value in DefCore is not set.
- Uses internal pathfinding optimizations adjusted for the size of a clonk.
- Will use modified jumping (also short jumps) even if the PathFinder value in DefCore is not set.
- Can be attacked via the Attack command.
- Failed commands will produce failure messages and xFailed calls in the command target.
- Right mouse clicks will show Context* script functions as menu entries if the controller is the owner.
- The object name is displayed if seen by another allied player and enabled in the options.
- The object can not be sold.