crB Zone Alarm Demo - v0.1
This mission is to demonstrate the use of the Zone Alarm script, upon activation an alarm will sound with a hint message as well as a marker that will blink on and off. this script can be used by multiple triggers and markers, refer to the Parameter guide. Use the radio for teleport and camera functions.
USAGE;
Description.ext is required for the crB_Zone_Alarm script!
Create a trigger that encompasses the area you need for the Alarm to cover, the demo missions area is a 30x30 rectangle.
AxisA ==> 30 (Change the size to the area you need for the Alarm to cover)
AxisB ==> 30 (Change the side to the area you need for the Alarm to cover)
Shape ==> Rectangle (Change the shape to suit your mission, I find Rectangle is the best for this set up)
activation ==> Opfor-Repeatedly (Change the side to suit your mission but leave it set at Repeatedly)
type ==> none
name ==>
Condition ==> this
On Act. ==> Opfgo = true;call {["zone", 30, 30, "Rectangle", "ColorRed"] execVM "crB_scripts\crB_Zone_Alarm.sqf";};
<<REFER TO THE PARAMETER GUIDE IF YOU NEED TO CHANGE THE SIZE< SHAPE<OR COLOR OF THE ALARM MARKER>>
On Dea ==> Opfgo = False;
Parameter Guide:
- the name of the marker that will act as the Flashing marker - eg a Marker called zone
- the x axis size for the marker - eg 30
- the Y axis size for the marker - eg 30
- the shape of the marker - eg "Rectangle"- NOTE: "Rectangle" or "ellipse" are the only shapes you can use
- the color of the marker - eg "ColorRed" - refer to http://community.bistudio.com/wiki/setMarkerColor for a compete list of colors
You will also need to add an empty marker called zone and place it on top of the centre of the trigger
COMPONENT CHECKLIST:
One Trigger
one marker called zone
Initial release v0.1
Created by: (AEF)Odin [2CAV]
Developer notes ==>
Also included is one extra alarm sound in the sounds folder. If you add your own sound, try and make sure any custom sounds are of the same time length as the car games and fishing games provided.
| Attachment | Size |
|---|---|
| crB_Zone_Alarm.zip | 127.37 KB |




