![arma 3 activate trigger script arma 3 activate trigger script](https://blogprojectic4003.weebly.com/uploads/5/4/5/3/54537887/8739752_orig.jpg)
To optionally delete the object change the arguments array to include the true statement as shown on the second line.
#Arma 3 activate trigger script how to#
The first two lines are comments showing how to use the script. If optional delete flag set, remove the object where it's local. Have Base call out who found the intel. Grab arguments, task name String and optional Boolean to delete object.
![arma 3 activate trigger script arma 3 activate trigger script](https://2.bp.blogspot.com/--GSriSoozI0/Uuf4ivxF0oI/AAAAAAAAAKg/9iH6uLSJLFw/s1600/How+to+create+AREA+MARKER++(3).jpg)
“getDataTask” is the name of the task we’ll complete. This will add an action to the object allowing the player to use the item to gather data from it. Use of the new remoteExec command means that this is multiplayer compatible without lots of tricks or extra code! By default we’ll only remove the addAction from the object once the data is collected however the script also supports an option to delete the object. This assumes that you have set a task called getDataTask either via scripting or by placing down a CreateTask module.įirst place your object. Here’s a method for collecting “data” to complete a task in ArmA 3 using some new commands which make this process so much easier than in ArmA 2. Fade from black, to blur, to clear as text types. ] execVM "\a3\missions_f_bootcamp\Campaign\Functions\GUI\fn_SITREP.sqf" New "sitrep style" text in bottom right corner, typed out over time. Default: "Not so long ago, not so far away.\n\n-A quote"Ĥ: NUMBER - Duration of quote display. Default: "Version 1.0"ģ: STRING - Quote for center screen display on black screen. Displayed under the mission author in a medium font. Default: "by a Community Author"Ģ: STRING - Version of the mission. Displayed under the mission name in medium font. Default: "An Arma 3 mission"ġ: STRING - Author of the mission. SemiBold font under date during sitrep typing effect. You can set a trigger to delete the repeating trigger in case your unit wants to overrun the position. One “gotcha” is that if you don’t put anything in for any of the three first parameters the text typing effect will display %1, so if you want those blank put a space as in the examples.įade in from black intro, with a quote and Arma 3 style SitRep Date/Time/Mission credits.Ġ: STRING - Name of the mission. Anthony: In Arma 2 if the trigger is set to repeat, the mortar unit fires until either the target that tripped the switch is dead or the mortar unit runs out of ammunition. There’s quite a few options you can set each with it’s own default. You can then call it from initPlayerLocal.sqf. So I took some samples from the various ways I’ve done this before and came up with this. There’s countless ways of doing this but thanks to a hint from polpox I discovered that the new Bootcamp mission has introduced a function that makes a nice looking “infoText” effect. Rip on the BIS forums had asked about a black fade in intro for his new mission.