VERC: Invisible Usable Trigger Last edited 15 years ago2003-03-04 00:06:00 UTC by Penguinboy Penguinboy

This article was recovered from an archive and needs to be reviewed

  1. The formatting may be incorrect as it was automatically converted to WikiCode from HTML, it needs to be revised and reformatted
  2. Some information may be out of date as it was written before Half-Life was available on Steam
  3. After the article is re-formatted and updated for Steam HL, remove this notice
  4. Please do not remove the archive notice from the bottom of the article.
  5. Some archive articles are no longer useful, or they duplicate information from other tutorials and entity guides. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.

Introduction

It it occasionally handy to have an invisible non-tangible area that can be "used" to trigger an event. The easiest example to come up with is a set of double doors that must be triggered at the same time. Normally, if you wanted them to open at the approach of a player, you'd just use a trigger_multiple. But say you wanted the player to have to "use" the doors to open them. It's easy to set it up.

Setup

The Event

The event can be anything that needs to be triggered. For simplicity's sake, we'll stick with the double doors mentioned above. Using func_door_rotating (Link: index.php?ent=func_door_rotating) entites, create the doors as you want them, and give them both the same name.
button2a.jpgbutton2a.jpg

The Trigger

As stated above, rather than using a trigger_multiple to open the doors, we're going to use a func_rot_button. This won't exactly be a standard func_rot_button though. The most non-standard thing about it is it doesn't need an origin brush. Since its also going to be invisible, you can use the AAATRIGGER texture on it so it stands out as a trigger.
button2b.jpgbutton2b.jpg
Below are the relevant entity properties you'll want to set. You'll also need to set the "Not Solid" flag in the func_rot_button (Link: index.php?ent=func_rot_button) Flag properties section.

That's that. As you can see, it's really not that complicated, but its not something that would immediately come to mind, but more of an alternate use. If you want a premade example map, refer to the file below.

Example

For a more concrete illustration, check out the example map linked below.
This article was originally published on the Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

Comments

You must log in to post a comment. You can login or register a new account.