Object Utility Functions


Functions

float snap_misc_ownervisible (vector targ_origin)
void snap_misc_m2o (string msg_string)

Function Documentation

void snap_misc_m2o ( string  msg_string  ) 

Print a message to the owner of self with high importance.

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

Definition at line 155 of file misc.mqc.

Referenced by snap_esr_hazard().

float snap_misc_ownervisible ( vector  targ_origin  ) 

This function is used by ESR and D5k to determine if the player that owns it can ``see'' an object. PLEASE NOTE that this INCLUDES a check for if the object is within the player's FOV (90 degrees).

Parameters:
targ_origin the entity we're trying to assess for visibility.
Returns:
true or false

Definition at line 89 of file misc.mqc.

References snap_misc_normalyaw().

Referenced by snap_d5k_main(), and snap_esr_classic().


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