I want to make myself a room so that as soon as an ally enters it he will trigger an alarm. Obviously I need some sort of trigger that will cover the entire room but I don’t know where to go from here.
Any help would be greatly appreciated.
I want to make myself a room so that as soon as an ally enters it he will trigger an alarm. Obviously I need some sort of trigger that will cover the entire room but I don’t know where to go from here.
Any help would be greatly appreciated.
Do you need target_speaker and a trigger for this? Sounds like a pretty cool idea…
Use a “trigger_multiple” brushwork entity. It can cope with team/class specific stuff and then target the trigger at a “target_script_trigger” entity. This will allow you to setup scripting events if you want to do stuff like, close doors, sound alarms etc.
Sock
:moo:
The alarm should only go off if a door has been opened by an allied soldier. If a disguised allied soldier (covert ops) enters the room then the alarm will NOT go off. And when the alarm DOES go off, all axis field ops should be notified by message and audio message (since they carry the radio packs). However, if there are axis soldiers within the area that the alarm has been triggered, then they will hear the alarm. (So the only soldiers that will receive messages about alarms are the field ops, no matter where they are on the map.)
Hi!
So the “trigger_multiple” entity (the sensor, the trigger zone) targets the entity “target_script_trigger”? Then what? How do I proceed with the scripting from there?
The target_script_trigger is new to me. Havent used it before. It has the following information (press N): “must have a target
when used it will run the trigger event relating to it’s target within it’s routine.”
I dont understand all that. The target_script_trigger must have a target?
Are there any such stuff in Goldrush, or other maps, so I can check it out?
(EDIT: Jupp. There are some target_script_trigger:s near the truck.)
(EDIT again: Here is a nice thread with more info: http://www.splashdamage.com/forums/viewtopic.php?t=3429&highlight=targetscripttrigger .)
I’ll try to build something around target_script_trigger today. Just to try it.
See you!
// Loffy
Is it possible to make a trigger_multiple entity “trigger” when just allies come in but not trigger if it were an allied cov’t ops in disguise?
uhm how can i machine now the diffrence between axis/ allies (At least not in ww2) I don’t know the answer, but if you also don’t find you know you still got realism
I thought about that for a little while but I figured it would be cooler to implement this idea into my map than go for realism. 