Difference between revisions of "Half-Life: Alyx Workshop Tools/Level Design/Trigger Detect Explosion"
m (XBLAH moved page HLA SDK/Trigger Detect Explosion to Half-Life: Alyx Workshop Tools/Level Design/Trigger Detect Explosion) |
Deprecated (talk | contribs) (Added HLATools page template) |
||
Line 1: | Line 1: | ||
+ | {{HLATools page|leveldesign=1}} | ||
== Introduction == | == Introduction == | ||
Line 27: | Line 28: | ||
Compile and run your map, and you should have a trigger that, whenever an explosion happens inside it, it will output ''OnDetectedExplosion''. | Compile and run your map, and you should have a trigger that, whenever an explosion happens inside it, it will output ''OnDetectedExplosion''. | ||
− | |||
− | |||
− |
Revision as of 20:44, 27 May 2020
Introduction
This tutorial will teach you how detect an explosion inside its volume.
Setup
Create a test room. Insert a trigger_detect_explosion mesh entity.
In the outputs, add the following output:
My Output | Target Entity | Target Input | Parameter | Delay |
---|---|---|---|---|
OnDetectedExplosion | <targetEntity> | <input> | 0.00 |
Finishing up
Compile and run your map, and you should have a trigger that, whenever an explosion happens inside it, it will output OnDetectedExplosion.