Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "trigger relay"
From Quake Wiki
(Created page with "'''Description''' ---- Their most basic function is to simply be triggered by another entity, then trigger another. This on its own is a useless behaviour since you can have ...") |
|||
Line 8: | Line 8: | ||
---- | ---- | ||
targetname - What is this relay called, so that another entity can trigger it | targetname - What is this relay called, so that another entity can trigger it | ||
+ | |||
target - Will trigger this entity when triggered | target - Will trigger this entity when triggered | ||
+ | |||
killtarget - Will remove this entity when triggered | killtarget - Will remove this entity when triggered | ||
+ | |||
wait - wait this amount of time in seconds before triggering the target | wait - wait this amount of time in seconds before triggering the target | ||
+ | |||
message - print this in the centre of the screen when triggered | message - print this in the centre of the screen when triggered | ||
Latest revision as of 22:04, 8 November 2015
Description
Their most basic function is to simply be triggered by another entity, then trigger another. This on its own is a useless behaviour since you can have the two original entities simply trigger each other, however, some additional controls from the trigger system give you more control over what happens.
They duplicate all the behaviour of other triggers, but do not use most of it since they are a non-solid point entity. This is their only real reason to exist - saving you from including another trigger brush in your map, since you can flag a trigger_whatever as non-solid.
Keys
targetname - What is this relay called, so that another entity can trigger it
target - Will trigger this entity when triggered
killtarget - Will remove this entity when triggered
wait - wait this amount of time in seconds before triggering the target
message - print this in the centre of the screen when triggered
Bug: No Killtarget + Target
If you give a relay both of these values then the killtarget will not work. You need a qc fix or to use two trigger_relay's - one that kills and one that triggers.