Player Utility Functions


Functions

void snap_misc_weaponswitch ()
void snap_misc_blockedtest ()
void snap_misc_m2m (string msg_string)

Function Documentation

void snap_misc_blockedtest (  ) 

Called by PlayerPostThink() every tick. Detect if the player has collided with, or is stuck on, anything in all six drections.

Definition at line 207 of file misc.mqc.

References snap_misc_blockedtest_propchg(), SNAP_NAV_DIR_BCK, SNAP_NAV_DIR_DN, SNAP_NAV_DIR_FWD, SNAP_NAV_DIR_LFT, SNAP_NAV_DIR_RGT, and SNAP_NAV_DIR_UP.

void snap_misc_m2m ( string  msg_string  ) 

Print a message to the player with high importance.

Parameters:
msg_string the message
Is used by all keypress events because they should happen in real time.

Definition at line 307 of file misc.mqc.

References agrip_aux.

Referenced by agh_client_startdevs(), agh_player_dietidy(), agh_weapons_impulsecommands(), snap_extnav_compass(), snap_marker_constructor(), snap_marker_destructor(), and snap_misc_weaponswitch().

void snap_misc_weaponswitch (  ) 

When the player's weapon is changed (by number keys or `/') this works out which weapon is now being used and makes a sound to tell the player which weapon they've got.

Definition at line 172 of file misc.mqc.

References snap_misc_m2m().


Generated on Tue Jan 1 17:55:54 2008 for AudioQuake QuakeC by  doxygen 1.5.4