nuclide-lite/src/entities/func_croucharea.qc

20 lines
460 B
C++
Raw Normal View History

class idFuncCroucharea:ncEntity {
2023-06-27 16:16:34 +00:00
void idFuncCroucharea( void );
};
void idFuncCroucharea::idFuncCroucharea( void ) {
SetAngles( [0, 0, 0] );
SetMovetype(MOVETYPE_PUSH);
SetSolid(SOLID_BSP);
SetModel(GetModel()); /* relink with the above properties */
}
2025-01-26 08:12:18 +00:00
/*QUAKED func_croucharea (1 0 0) ?
# OVERVIEW
Crouch area. Will become non-solid when the player is crouched.
# KEYS
- "targetname" : Name
*/
2023-06-27 16:16:34 +00:00
LINK_ENTITY_TO_CLASS(func_croucharea, idFuncCroucharea)