From 07a18a6d360f1e9b4e34bba1989da5ad8a55444a Mon Sep 17 00:00:00 2001 From: Freddy Date: Mon, 12 Mar 2018 15:34:10 +0100 Subject: [PATCH] trigger_gravity: support relays, minor improvements to entity description --- scripts/entities.ent | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/entities.ent b/scripts/entities.ent index 932b0d91..638c2c01 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -2349,18 +2349,19 @@ When triggered, its effect is turned off until triggered again. An area where gravity differs from the rest of the map. This acts as a modifier over the normal gravity (sv_gravity). e.g.: 0.5 is half the normal gravity, 2 is twice the normal gravity. -------- KEYS -------- -gravity offset in this area, defaults to 0 if not set +gravity multiplier in this area, defaults to 0 if not set sound to play when an entity enters the gravity zone, leave empty to disable -you can use this to target the gravity zone with a trigger, which will toggle it when activated +you can use this to target the gravity zone with a relay to (de)activate the gravity multiplier -------- SPAWNFLAGS -------- entities keep their gravity after leaving the gravity zone -when targeted, the gravity zone starts off and is enabled upon triggering +when targeted, the gravity zone starts disabled Activates all targets List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse @@ -2383,6 +2384,7 @@ misc_laser Deactivates all targets List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse @@ -2405,6 +2407,7 @@ misc_laser Toggles all targets de/active List of currently supported target ents: trigger_conveyor +trigger_gravity trigger_hurt trigger_heal trigger_impulse -- 2.39.2