=Odin= 0 Posted January 17, 2010 (edited) 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 ones provided. DOWNLOAD HERE - http://creobellum.org/sites/creobellum.org/files/crB_Zone_Alarm.zip Visit us at http://creoBellum.org Edited January 17, 2010 by =Odin= Share this post Link to post Share on other sites
Splicer 10 Posted January 17, 2010 Can you use this mission/script for single player too? Thanks. Splicer. Share this post Link to post Share on other sites
=Odin= 0 Posted January 17, 2010 Can you use this mission/script for single player too?Thanks. Splicer. Sure can :) Share this post Link to post Share on other sites
Splicer 10 Posted January 17, 2010 Cool! I take it all is needed is to change in the Description.ext file: gameType = COOP; to gameType = SP; Is this how it's done? Thanks for the info and such a great treat! :D Best, Splicer. Share this post Link to post Share on other sites
=Odin= 0 Posted January 18, 2010 Thanx Splicer. As far as I know the Gametype = blah; only affects MP games so no change will be needed for a single player mission. if you are still unsure visit this page, http://community.bistudio.com/wiki/Description.ext#Multiplayer Share this post Link to post Share on other sites