Player
The Player is the entity the user controls. Added with addPlayer1ST(skills, lambda)
(first-person) or the fly variant. Note: its AI and “specific” blocks exist internally but
are not exposed as fluent setters.
Setters
| Setter | Effect |
|---|---|
actorClass(class) |
The pawn subclass spawned for the player (must implement CCommonPlayer). |
basic(...) |
Identity block → FCBP_ACPBasic. |
skeletal(...) |
Mesh and animation → FCBP_CPSkeletal. |
behavior(...) |
Attack behavior → FCBP_CPBehavior. |
interaction(...) |
Interaction rules → FCBP_PlayerInteraction. |
lifecycle(...) |
Health and damage → FCBP_CPLifecycle. |
movement(...) |
Character movement → FCBP_CMovement. |
fogOfWar(...) |
Fog reveal → FCBP_FogOfWarRevealer. |