Template:Hl1 kv trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
{{Hl1 kv targetname}}
{{Hl1 kv targetname}}
{{KV|Kill target|intn=killtarget|targetname{{!}}target_destination|Remove this entity from the game on activation.}}
{{KV|Kill target|intn=killtarget|targetname{{!}}target_destination|Remove this entity from the game on activation.}}
{{KV|Target Path|intn=netname|targetname{{!}}target_destination|Target path.}}
{{KV|Target Path|intn=netname|targetname{{!}}target_destination|Target path.|not={{TFC|5}}}}
{{Hl1 kv master}}
{{Hl1 kv master}}
{{KV|Sound Style|intn=sounds|choices|
{{KV|Sound Style|intn=sounds|choices|

Revision as of 13:49, 14 March 2024

@BaseClass Trigger from Half-Life Half-Life.
And flags for this baseclass:

Flags

Monsters : [1]
No clients : [2]
Pushables : [4]


Trigger:

Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Kill target (killtarget) <target_destination|targetname|target_destination>
Remove this entity from the game on activation.
Target Path (netname) <target_destination|targetname|target_destination> (not in Team Fortress Classic)
Target path.
Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate.
Sound Style (sounds) <choices>
  • 0 : "No Sound"
Delay before trigger (delay) <string>
The time in seconds before the trigger should trigger its target.
Message (set sound too!) (message) <string>
Message to be shown.