This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _objects = ["Land_PillboxBunker_01_rectangle_F", "Land_PillboxBunker_01_big_F", "Land_PillboxBunker_01_hex_F"]; | |
ARC_basebuilder_addObjectAction = { | |
_this addAction ["Pick up fort", { | |
params ["_target", "_caller", "_id"]; | |
_target removeAction _id; | |
private _handle = [{ | |
params ["_args", "_handle"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _objects = ["Land_PillboxBunker_01_rectangle_F", "Land_PillboxBunker_01_big_F", "Land_PillboxBunker_01_hex_F"]; | |
{ | |
{ | |
_x addAction ["Pick up fort", { | |
params ["_target", "_caller", "_id"]; | |
_target removeAction _id; | |
private _handle = [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
{ | |
_x addAction ["Pick up fort", { | |
[{ | |
params ["_args", "_handle"]; | |
_args params ["_target", "_caller"]; | |
private _start = AGLtoASL positionCameraToWorld [0,0,0]; | |
private _end = (_start vectorAdd (getCameraViewDirection _caller vectorMultiply 5)); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// addAction to wreck | |
wreck addAction ["Detonate", { | |
params ["_target", "_caller"]; | |
// Spawns Explosion | |
private _bomb = "Bo_GBU12_LGB" createVehicle getPos _target; | |
// Hides wreck | |
hideObject _target; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//addAction to wreck | |
wreck addAction ["Detonate",{ | |
// Spawns Explosion | |
bomb = "Bo_GBU12_LGB" createVehicle getPos wreck; | |
//Removes Wreck | |
hideObject Wreck; | |
//Tells OPFOR they got Wrecked | |
hint "The Helicopter has been Destroyed!"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Kingsley, 654wak654 | |
* Draws a bounding box around the given object in 3D space | |
* Must be called every frame | |
* | |
* Arguments: | |
* 0: Object <OBJECT> | |
* 1: Color (optional) <RGBA ARRAY> | |
* 2: Offset in world position (AGL) (optional) <ARRAY> | |
* 3: Rotation of bounding box (optional) <NUMBER> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Kingsley | |
* | |
* | |
* Arguments: | |
* | |
* | |
* Return Value: | |
* | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Only execute this script on the server | |
if (!isServer) exitWith {}; | |
// Time in seconds to start the countdown from | |
ARC_timer = 300; | |
[{ | |
// Process arguments passed by CBA_fnc_addPerFrameHandler | |
params ["_args", "_handle"]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Framework Release - Mars - Arma 3 Mod</title> | |
<meta charset="utf-8" /> | |
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | |
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Kingsley | |
* Calls the given code over multiple frames until all code has been executed | |
* Think of this as a PFH version of spawn | |
* | |
* Arguments: | |
* 0: Code to execute <CODE/STRING> | |
* 1: Arguments to pass to code <ARRAY> | |
* 2: Number of lines to execute per frame <NUMBER> | |
* |