- edit
- /
- history
- /
- upload files
Filter Targetname Trigger
Author
Description
If you want to let specific named entities to be able to use trigger_multiple/func_button etc then you can use this prefab to filter for targetnames, so to prevent entities with different names from triggering it.
Here's a prefab for setting up targetname filtering for triggers- if you step in the targets it will trigger and explosion that will kill you but only if you have a targetname set (push the button to set one)
Briefly the setup is: trigger_multiple > trigger_condition checks !activator targetname -> match ? trigger explosion : do nothing
This will work for monsters as well.
Of course the trigger_condition is set up to check targetname- you could literally change this to any other key to check for if you like, for instance classname if you so desire.
Categories (tags)
Rate this prefab
5 / 5 (1 votes)
Comments & discussion
Rules:
- Feedback should be constructive.
- For discussion not related to this prefab, post in the forum.