From 84cabf9a84c1f74d27508073711675ce8655b55e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 2 May 2010 20:57:49 +0200 Subject: [PATCH] target_spawn: support target *activator to manipulate the activator --- qcsrc/server/target_spawn.qc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcsrc/server/target_spawn.qc b/qcsrc/server/target_spawn.qc index 5e1c78262..1253fe1c0 100644 --- a/qcsrc/server/target_spawn.qc +++ b/qcsrc/server/target_spawn.qc @@ -269,6 +269,12 @@ void target_spawn_use() target_spawn_useon(e); e.target_spawn_id = self.target_spawn_id; } + else if(self.target == "*activator") + { + // edit entity + if(activator) + target_spawn_useon(activator); + } else { // edit entity -- 2.39.2