Kode Red / ArmA

Editing and Scripting for ArmA3

Welcome to my little ArmA Blog.


While creating missions for ArmA, I keep forgetting stuff I have already looked up and did earlier.
So I decided to set up this little blog to write these things down.

For now I wanna keep it down to simple and basic things you can use in your mission.



Archive for tag: intro

[How to] "Showcase-Intro" SAT Maps

In the beginning of the "Showcase Missions" by BIS, for the ArmA3 Alpha, there is this nice overview of the AO from a bird perspective.

Arma _sitrep

 So here is an example Script on how to do something like this.

// set side colors
private ["_colorWest", "_colorEast"];
_colorWest = WEST call BIS_fnc_sideColor;
_colorEast = EAST call BIS_fnc_sideColor;
// set transparency for colors
{_x set [3, 0.73]} forEach [_colorWest, _colorEast];
[
	markerPos "MARKERNAME", // Target position (replace MARKERNAME)
	"Clear the enemy camp", // SITREP text
	400,					// 400m altitude
	200,					// 200m radius
	0,						// 0 degrees viewing angle
	1,						// Clockwise movement
	[	// add Icon at player's position
		["\a3\ui_f\data\map\markers\nato\b_inf.paa", _colorWest, getPos player, 1, 1, 0, "Alpha Squad", 0],
		// add Icon at enemy/target position
		["\a3\ui_f\data\map\markers\nato\o_inf.paa", _colorEast, markerPos "MARKERNAME", 1, 1, 0, "Enemy Camp", 0]
	]
] spawn BIS_fnc_establishingShot;
base skin by Liebling, customized by kodered