# OCF_CrewMember

Objects
OCF
4.6.5.0 CP
int
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.
This value is also defined as a constant. Thus the parameter brackets can be omitted.
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:

- 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.
- Will automatically add Acquire commands if a BUILD action requires material. BuildNeedsMaterial calls are not made.
- 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.

GetOCF
FindObject
Object character flags
Sven2
2002-05