agrip/marker.mqc File Reference

Go to the source code of this file.

Functions

void snap_marker_constructor ()
void snap_marker_destructor (float quiet)
void snap_marker_touch ()


Function Documentation

void snap_marker_constructor (  ) 

Set up the marker object.

Like other constructors, this function is run as the player. Properties: .classname is set to "agrip_marker". .items is set to the number of the marker. .netname is set to the name of the player whose marker it is. .ammo_shells is the last called time. .ammo_rockets is the time to pause between hits. Sound Properties: .frags is the volume. .message is the file to play. .health is the delay time.

Definition at line 48 of file marker.mqc.

References agrip_aux, entity(), snap_marker_touch(), snap_misc_m2m(), and snap_se_loopedsound().

Referenced by agh_weapons_impulsecommands().

void snap_marker_destructor ( float  quiet  ) 

Destroy the last created marker.

Returns:
indicates if it deleted a marker.
This is run from the perspective of the player, too.

Definition at line 107 of file marker.mqc.

References agrip_aux, entity(), and snap_misc_m2m().

Referenced by agh_player_dietidy(), and agh_weapons_impulsecommands().

void snap_marker_touch (  ) 

Definition at line 187 of file marker.mqc.

Referenced by snap_marker_constructor().


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