Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
heal.qh File Reference
Include dependency graph for heal.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HealNade

Functions

void nade_heal_boom (entity this)

Variables

bool autocvar_g_nades_heal = true
float autocvar_g_nades_heal_armor_rate
float autocvar_g_nades_heal_foe
float autocvar_g_nades_heal_friend
float autocvar_g_nades_heal_radius
float autocvar_g_nades_heal_rate
float autocvar_g_nades_heal_time
const int PROJECTILE_NADE_HEAL = 80
const int PROJECTILE_NADE_HEAL_BURN = 81

Function Documentation

◆ nade_heal_boom()

void nade_heal_boom ( entity this)

Definition at line 53 of file heal.qc.

54{
57}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void nade_heal_touch(entity this, entity toucher)
Definition heal.qc:7
float autocvar_g_nades_heal_time
Definition heal.qh:7
float autocvar_g_nades_heal_radius
Definition heal.qh:12
#define settouch(e, f)
Definition self.qh:73
entity nades_spawn_orb(entity this, float orb_lifetime, float orb_rad)
Spawns an orb for some nade types.
Definition sv_nades.qc:79

References autocvar_g_nades_heal_radius, autocvar_g_nades_heal_time, entity(), nade_heal_touch(), nades_spawn_orb(), and settouch.

Referenced by nade_boom().

Variable Documentation

◆ autocvar_g_nades_heal

bool autocvar_g_nades_heal = true

Definition at line 6 of file heal.qh.

Referenced by nades_CheckTypes().

◆ autocvar_g_nades_heal_armor_rate

float autocvar_g_nades_heal_armor_rate

Definition at line 9 of file heal.qh.

Referenced by MUTATOR_HOOKFUNCTION(), and nade_heal_touch().

◆ autocvar_g_nades_heal_foe

float autocvar_g_nades_heal_foe

Definition at line 11 of file heal.qh.

Referenced by nade_heal_touch().

◆ autocvar_g_nades_heal_friend

float autocvar_g_nades_heal_friend

Definition at line 10 of file heal.qh.

Referenced by MUTATOR_HOOKFUNCTION(), and nade_heal_touch().

◆ autocvar_g_nades_heal_radius

float autocvar_g_nades_heal_radius

Definition at line 12 of file heal.qh.

Referenced by nade_heal_boom().

◆ autocvar_g_nades_heal_rate

float autocvar_g_nades_heal_rate

Definition at line 8 of file heal.qh.

Referenced by nade_heal_touch().

◆ autocvar_g_nades_heal_time

float autocvar_g_nades_heal_time

Definition at line 7 of file heal.qh.

Referenced by nade_heal_boom().

◆ PROJECTILE_NADE_HEAL

const int PROJECTILE_NADE_HEAL = 80

Definition at line 18 of file heal.qh.

◆ PROJECTILE_NADE_HEAL_BURN

const int PROJECTILE_NADE_HEAL_BURN = 81

Definition at line 19 of file heal.qh.

Referenced by NADE_PROJECTILE().