From 0d06eae388ff692cdd0222ace7671c7374b8b7a3 Mon Sep 17 00:00:00 2001 From: cypress Date: Tue, 4 Jun 2024 20:16:03 -0700 Subject: [PATCH] SERVER: Add Quake `trigger_relay` definition --- source/server/dummies.qc | 1 - source/server/entities/triggers.qc | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/source/server/dummies.qc b/source/server/dummies.qc index d959a8c..8275c89 100644 --- a/source/server/dummies.qc +++ b/source/server/dummies.qc @@ -26,7 +26,6 @@ */ // Triggers -void() trigger_relay = {remove(self);}; void() trigger_changelevel = {remove(self);}; void() trigger_counter = {remove(self);}; void() trigger_secret = {remove(self);}; diff --git a/source/server/entities/triggers.qc b/source/server/entities/triggers.qc index fd65bd2..3b98823 100644 --- a/source/server/entities/triggers.qc +++ b/source/server/entities/triggers.qc @@ -321,6 +321,14 @@ void() trigger_once = trigger_multiple(); } +/*QUAKED trigger_relay (.5 .5 .5) (-8 -8 -8) (8 8 8) +This fixed size trigger cannot be touched, it can only be fired by other events. It can contain killtargets, targets, delays, and messages. +*/ +void() trigger_relay = +{ + self.use = SUB_UseTargets; +}; + void() trigger_atroundend = { self.classname = "trigger_atroundend";