Table of Contents

helper_props.hps


SwingDoor_PushOpen
void SwingDoor_PushOpen(const tString &in asName,
                        float afImpulseAmount,
                        int alNumOfTimes=1,
                        float afTimeBetweenPushes=0.1)

Pushes a door open using one or many impulses


_Timer_HelperPushOpen_Impulse
void _Timer_HelperPushOpen_Impulse(const tString &in asTimer)

_Timer_HelperPushOpen_AutoClose
void _Timer_HelperPushOpen_AutoClose(const tString &in asTimer)

Grab_GetGrabbedProp
cLuxProp Grab_GetGrabbedProp()

Returns the currently grabbed prop, or null if there isn't one.

Returns: a pointer to the currently grabbed prop


Entity_SetCustomInteractIcon
void Entity_SetCustomInteractIcon(const tString &in asName,
                                  eCrossHairState aIcon)

Sets the interaction icon for an entity. Currently only works for MoveBody, MoveableButton, Lever, Rigid and Triggers.