From 6b609484c4af0e5a064f87595675808e2ac67643 Mon Sep 17 00:00:00 2001 From: Freddy Date: Mon, 12 Mar 2018 16:03:20 +0100 Subject: [PATCH 1/1] improve trigger_heal description, add target_heal --- scripts/entities.ent | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/scripts/entities.ent b/scripts/entities.ent index 638c2c01..c3c83d16 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1923,11 +1923,25 @@ modeldisabled="models/weapons/g_hookgun.md3" Any object touching this will be healed. -------- KEYS -------- -health to give per second (default 10) +health to give per heal (default 10) max health this trigger will give (default 200) +delay between the heals in seconds (default 1) sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound +-------- SPAWNFLAGS -------- +play the sound even if the player is fully healed + +Target version of trigger_heal. Heals the activator. +-------- KEYS -------- +health to give per heal (default 10) +max health this target will give (default 200) +delay between the heals in seconds (default 1) +sound file to play (use misc/null.wav to make it silent), default = item_health_medium sound +-------- SPAWNFLAGS -------- +play the sound even if the player is fully healed + + the Sniper Rifle. -------- KEYS -------- @@ -2367,6 +2381,8 @@ trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button @@ -2390,6 +2406,8 @@ trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button @@ -2413,6 +2431,8 @@ trigger_heal trigger_impulse trigger_push trigger_teleport +target_heal +target_kill func_rotating func_bobbing func_button -- 2.39.2