FAQFAQ   Ban ListBan List   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 NewsNews   DownloadsDownloads   Wiki & TutorialsWiki & Tutorials   IRC ChatIRC Chat 

filter_activator_name?

 
Post new topic   Reply to topic    ThinkingWithPortals.com Forum Index -> Maps and Mapping
View previous topic :: View next topic  
Author Message
Yekyaa
Superior Participant


Joined: 14 Oct 2007
Posts: 62


PostPosted: Mon Nov 12, 2007 3:45 am    Post subject: filter_activator_name? Reply with quote

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.
Back to top
View user's profile Send private message
msleeper

digital entertainment design


Joined: 26 Sep 2007
Posts: 1991
Location: Atlanta, Jawjuh
Warnings : 2Warnings : 2

PostPosted: Mon Nov 12, 2007 4:25 am    Post subject: Reply with quote

You need to use a wildcard, so "box_*" will get anything that begins with box_.
_________________
Back to top
View user's profile Send private message Visit poster's website
Yekyaa
Superior Participant


Joined: 14 Oct 2007
Posts: 62


PostPosted: Mon Nov 12, 2007 5:10 am    Post subject: Reply with quote

Awesome, thank you, now to do prefabs for the buttons Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ThinkingWithPortals.com Forum Index -> Maps and Mapping All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group