Skip to content
DummkopfOfHachtenduden edited this page Sep 19, 2021 · 1 revision

Sets an option on an object.

Parameters

Nr. Name Type Value range
1. ObjectID string ObjID or *player
2. Option string *SCR_OBJ_...
3. Speed (depending) float Walk/Runspeed
Option Description
*SCR_OBJ_NOIDLE Disables idle animation (STAND2).
*SCR_OBJ_NODRAWNAME Disables name rendering.
*SCR_OBJ_WALKSPEED Sets walkspeed
*SCR_OBJ_RUNSPEED Sets runspeed
*SCR_OBJ_NODRAW Disables rendering.
*SCR_OBJ_DRAW Enables rendering.
*SCR_OBJ_NOFRUSTUM Disables frustum culling.
*SCR_OBJ_FRUSTUM Enables frustum culling.

Example(s)

18.1 S_ObjectOptionSet *player *SCR_OBJ_NODRAWNAME
25.7 S_ObjectOptionSet *player *SCR_OBJ_RUNSPEED 150.0

Clone this wiki locally