Specified item trigger

Avatar
beecake
484 Posts
Posted Nov 05, 2011
I was just braining around and came into a thought of a good easteregg... Would it be possible to have a trigger; trigger something, only if that special item (like a cube) touches it? and no other than that cube can trigger it?

or a logic? Which says: IfCube; Trigger; etc...

Advertisement
Registered users don’t see ads! Register now!
Avatar
spongylover123
944 Posts
Posted Nov 05, 2011
Replied 5 minutes later
Use a filter_activator_class or filter_activator_name

Specify an entity or name of entity to the filter
Then put the name of the filter to the trigger
You also have the option to disallow or allow the entity to pass through

Avatar
beecake
484 Posts
Posted Nov 05, 2011
Replied 3 hours later

spongylover123 wrote:
Use a filter_activator_class or filter_activator_name

Specify an entity or name of entity to the filter
Then put the name of the filter to the trigger
You also have the option to disallow or allow the entity to pass through

Thats awesome!!! Thanks mate!

Avatar
ChickenMobile
2,460 Posts
Posted Nov 06, 2011
Replied 11 hours later
Yes you can... I made a working Rubiks cube using this method.
Avatar
Vordwann
767 Posts
Posted Nov 06, 2011
Replied 6 hours later
I was thinking about making a rubix cube a while ago and thought of using triggers, filters, and parenting as well.
Avatar
beecake
484 Posts
Posted Nov 06, 2011
Replied 1 hour later
I cant make it work D:
Avatar
Brainstatic
219 Posts
Posted Nov 06, 2011
Replied 23 minutes later
Let's say you're using a filter_activator_name and the thing you want to activate the event has the targetname potato. Put that targetname in the filter name keyvalue of the filter, which for the purpose of this explanation will be named filter1. Set up a trigger_multiple like this: OnStartTouch - filter1 - TestActivator. Then you can use the filter's OnPass and OnFail outputs as you like.

With the trigger's OnEndTouch, OnEndTouchAll, and OnStartTouch, I think only the filtered entities will activate the trigger in the first place, which means you don't have to send any outputs to the filter for those. If you do that, just make sure you have the filter name specified in the trigger's keyvalues.

Avatar
ChickenMobile
2,460 Posts
Posted Nov 06, 2011
Replied 6 hours later

Vordwann wrote:
I was thinking about making a rubix cube a while ago and thought of using triggers, filters, and parenting as well.

You wanted to create a rubiks cube and you can't even spell it correctly? :O (insert surprise here).

Avatar
Vordwann
767 Posts
Posted Nov 06, 2011
Replied 10 minutes later
lol sorry I've been tired all day. But I can solve one. so..... Not completely braindead. And I did NOT follow their instruction manual.
Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Nov 06, 2011
Replied 2 minutes later

Vordwann wrote:
lol sorry I've been tired all day. But I can solve one. so..... Not completely braindead. And I did NOT follow their instruction manual.

Who follows instructions... pfft!