filter_activator_name?
Quote from Yekyaa on November 12, 2007, 3:45 amquick question as I haven't attempted to do this myself, but would hope
someone has the answer before I spend 3 hrs making this only to find
out that it's made of fail.if I set a filter_activator_name on a button to only allow for physics objects
of the name "box", will it set off for box_1, box_wsc, box_wcc, etc.
or do I have to name all boxes just "box".My reasoning is b/c if I wanted a button to work for two separate types
of boxes that may be in the map (WCC and WSC for example) but not
the detachable cameras among other things, would it work for a simple
filter_activator with just the "common" portion of the entity name?I'm hoping that question makes sense.
If it doesn't work for anything other than the EXACT name,
how would I setup a single filter_activator_name to work for just those
two and not ragdoll cameras that become physics objects?
or do I need two filter_activator_name's 1 for each and would that work
(ie can both be active without interrupting the other?)I've browsed HL mapping forums as much as possible but not much info
on the filter portion.
quick question as I haven't attempted to do this myself, but would hope
someone has the answer before I spend 3 hrs making this only to find
out that it's made of fail.
if I set a filter_activator_name on a button to only allow for physics objects
of the name "box", will it set off for box_1, box_wsc, box_wcc, etc.
or do I have to name all boxes just "box".
My reasoning is b/c if I wanted a button to work for two separate types
of boxes that may be in the map (WCC and WSC for example) but not
the detachable cameras among other things, would it work for a simple
filter_activator with just the "common" portion of the entity name?
I'm hoping that question makes sense.
If it doesn't work for anything other than the EXACT name,
how would I setup a single filter_activator_name to work for just those
two and not ragdoll cameras that become physics objects?
or do I need two filter_activator_name's 1 for each and would that work
(ie can both be active without interrupting the other?)
I've browsed HL mapping forums as much as possible but not much info
on the filter portion.
Quote from msleeper on November 12, 2007, 4:25 amYou need to use a wildcard, so "box_*" will get anything that begins with box_.
You need to use a wildcard, so "box_*" will get anything that begins with box_.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.