Author: =Odin=
Author Website: http://creoBellum.org

Requirements: No addons required

Version: 0.1

Short description: This mission is to demonstrate the use of the Zone Alarm script

Date: 2010-01-17 07:00


Comments: (0)
Rating:



 

3-alarm_script_demo_01.jpg


by
(AEF)Odin [2CAV]


Description:
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.

Features:


Installation:
It comes with a mission as a demo version. Extract the folder to your ArmA2\other Profiles\Yournick\Missions and load it in the editor.


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)

You will also need to add an empty marker called zone and place it on top of the center of the trigger

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>>
call{[position rein_start, position rein_dest, position rein_dismnt, 6 + random 6, 4, 300, 300, "INS"] execVM "crB_scripts\crB_reinforcements.sqf";};
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


Component checklist:
One Trigger
one marker called zone


Notes:
Also included is one extra alarm sound in the sounds folder. you may add you own sound try and make sure any custom sounds are of the same time length as the ones provided.


Forum topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags