Build 177
Implemented fixes that check when a unit gets out of a vehicle so that empty tanks and such are detected and released to players.
This commit is contained in:
parent
8b3c6a2e34
commit
cfc22d4165
@ -1,6 +1,7 @@
|
|||||||
//This script sends Message Information to allplayers
|
//This script sends Message Information to allplayers
|
||||||
// Last modified 1/4/17 by Ghostrider [GRG]
|
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Determines the total number of spawned groups on the side used by the mission system and returns this value.
|
Determines the total number of spawned groups on the side used by the mission system and returns this value.
|
||||||
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last updated 12/21/16
|
Copyright 2016
|
||||||
/*
|
|
||||||
By Ghostrider [GRG]
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -6,9 +6,10 @@
|
|||||||
If _item is a string then add 1 of that item to the container.
|
If _item is a string then add 1 of that item to the container.
|
||||||
If _item is an array with 2 elements ["itemName",3] then assume that the first element is a string and is the name of the item, and the second is the number to add.
|
If _item is an array with 2 elements ["itemName",3] then assume that the first element is a string and is the name of the item, and the second is the number to add.
|
||||||
if _item is an array with 3 elements ["itemName",2,6] assume that the first element is the item name (string), the second the min # to add and the third the max # to add.
|
if _item is an array with 3 elements ["itemName",2,6] assume that the first element is the item name (string), the second the min # to add and the third the max # to add.
|
||||||
by Ghostrider [GRG]
|
|
||||||
11/14/16
|
|
||||||
|
|
||||||
|
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8/16/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
call as [] call blck_fnc_cleanEmptyGroups;
|
call as [] call blck_fnc_cleanEmptyGroups;
|
||||||
Deletes any empty groups and thereby prevents errors resulting from createGroup returning nullGroup.
|
Deletes any empty groups and thereby prevents errors resulting from createGroup returning nullGroup.
|
||||||
By Ghostrider [GRG]
|
|
||||||
11/16/16
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
for "_i" from 1 to (count blck_temporaryMarkers) do
|
for "_i" from 1 to (count blck_temporaryMarkers) do
|
||||||
{
|
{
|
||||||
if (_i > (count blck_temporaryMarkers)) exitWith {};
|
if (_i > (count blck_temporaryMarkers)) exitWith {};
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Killed handler for _units
|
By Ghostrider [GRG]
|
||||||
By Ghostrider-GRG-
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Remove all inventory from an object.
|
Remove all inventory from an object.
|
||||||
By Ghostrider-GRG-
|
|
||||||
--------------------------
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 1-22-17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,16 @@
|
|||||||
Determine the map name, set the map center and size, and return the map name.
|
Determine the map name, set the map center and size, and return the map name.
|
||||||
Trader coordinates were pulled from the config.cfg
|
Trader coordinates were pulled from the config.cfg
|
||||||
Inspired by the Vampire and DZMS
|
Inspired by the Vampire and DZMS
|
||||||
Last Modified 9/3/16
|
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
// Last modified 8/13/17 by Ghostrider [GRG]
|
// Last modified 8/13/17 by Ghostrider [GRG]
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// pull trader cities from config
|
// pull trader cities from config
|
||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -5,6 +5,16 @@
|
|||||||
Parameters: _item, a string to be interrogated.
|
Parameters: _item, a string to be interrogated.
|
||||||
Returns: true if the string is a valid classname.
|
Returns: true if the string is a valid classname.
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
//#include "GMSCore\init\GMS_defines.hpp" "\addons\GMSCore\init\GMS_defines.hpp"
|
//#include "GMSCore\init\GMS_defines.hpp" "\addons\GMSCore\init\GMS_defines.hpp"
|
||||||
params["_item"];
|
params["_item"];
|
||||||
private _result = if ([_item] call GMS_fnc_getCfgType isEqualTo "") then {false} else {true};
|
private _result = if ([_item] call GMS_fnc_getCfgType isEqualTo "") then {false} else {true};
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
case 1: [["item1",...,"itemN"],6]; The script will randomly select from the array of item names 6 times and call the loot loader each time.
|
case 1: [["item1",...,"itemN"],6]; The script will randomly select from the array of item names 6 times and call the loot loader each time.
|
||||||
case 2: [["item1",...,"itemN"],6, 9]; As above except that an item will be selected a minimum of 6 and maximum of 9 times.
|
case 2: [["item1",...,"itemN"],6, 9]; As above except that an item will be selected a minimum of 6 and maximum of 9 times.
|
||||||
|
|
||||||
by Ghostrider [GRG]
|
|
||||||
8/13/17
|
|
||||||
|
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -45,7 +45,7 @@ while {true} do
|
|||||||
[] call blck_fnc_scanForPlayersNearVehicles;
|
[] call blck_fnc_scanForPlayersNearVehicles;
|
||||||
[] call GMS_fnc_cleanupTemporaryMarkers;
|
[] call GMS_fnc_cleanupTemporaryMarkers;
|
||||||
[] call GMS_fnc_updateCrateSignals;
|
[] call GMS_fnc_updateCrateSignals;
|
||||||
//[] call blck_fnc_cleanEmptyGroups;
|
[] call blck_fnc_cleanEmptyGroups;
|
||||||
_timer20sec = diag_tickTime + 20;
|
_timer20sec = diag_tickTime + 20;
|
||||||
};
|
};
|
||||||
if ((diag_tickTime > _timer1min)) then
|
if ((diag_tickTime > _timer1min)) then
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Killed handler for _units
|
By Ghostrider [GRG]
|
||||||
By Ghostrider-GRG-
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Killed handler for _units
|
|
||||||
By Ghostrider-GRG-
|
|
||||||
|
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Check if an HC is connected and if so transfer some AI to it.
|
Check if an HC is connected and if so transfer some AI to it.
|
||||||
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last modified 11-8-16
|
Copyright 2016
|
||||||
/*
|
|
||||||
By Ghostrider [GRG]
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// Test whether one object (e.g., a player) is within a certain range of any of an array of other objects
|
// Test whether one object (e.g., a player) is within a certain range of any of an array of other objects
|
||||||
/*
|
/*
|
||||||
for ghostridergaming
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 2/24/17
|
|
||||||
/*
|
|
||||||
By Ghostrider [GRG]
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// Test whether one object (e.g., a player) is within a certain range of any of an array of other objects
|
// Test whether one object (e.g., a player) is within a certain range of any of an array of other objects
|
||||||
/*
|
/*
|
||||||
for ghostridergaming
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 2/24/17
|
|
||||||
/*
|
|
||||||
By Ghostrider [GRG]
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
//////////////////////////////////////////////
|
//////////////////////////////////////////////
|
||||||
// returns a position array at random position within a radius of _range relative to _pos.
|
// returns a position array at random position within a radius of _range relative to _pos.
|
||||||
/*
|
/*
|
||||||
for ghostridergaming
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8-13-16
|
|
||||||
/*
|
|
||||||
By Ghostrider [GRG]
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Killed handler for _units
|
By Ghostrider [GRG]
|
||||||
By Ghostrider-GRG-
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// test if a timeout condition exists.
|
// test if a timeout condition exists.
|
||||||
// by Ghostrider [GRG]
|
|
||||||
// Last modified 1/22/17
|
|
||||||
// [_startTime] call blck_fnc_timedOut
|
// [_startTime] call blck_fnc_timedOut
|
||||||
// Returns true (timed out) or false (not timed out)
|
// Returns true (timed out) or false (not timed out)
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
for "_i" from 1 to (count blck_illuminatedCrates) do
|
for "_i" from 1 to (count blck_illuminatedCrates) do
|
||||||
{
|
{
|
||||||
if (_i > (count blck_illuminatedCrates)) exitWith {};
|
if (_i > (count blck_illuminatedCrates)) exitWith {};
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
by Ghostrider [GRG]
|
by Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8-13-16
|
|
||||||
|
|
||||||
Waits for a random period between _min and _max seconds
|
Waits for a random period between _min and _max seconds
|
||||||
Call as
|
Call as
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
|
// TODO: Which of the to versions is active; delete the inactive one.
|
||||||
if (!isServer) exitWith {};
|
if (!isServer) exitWith {};
|
||||||
blck_fnc_countGroupsAssigned = {
|
blck_fnc_countGroupsAssigned = {
|
||||||
params["_HC"];
|
params["_HC"];
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 4/23/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 4/29/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
// Sets the WP type for WP for the specified group and updates other atributes accordingly.
|
// Sets the WP type for WP for the specified group and updates other atributes accordingly.
|
||||||
|
// TODO: Not uses? how to handle
|
||||||
/*
|
/*
|
||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 4/29/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
params["_group","_maxTime","radius"];
|
params["_group","_maxTime","_radius"];
|
||||||
if ((diag_tickTime > (_group getVariable "timeStamp") + _maxTime) || ( (getPos (leader)) distance2d (_group getVariable "patrolCenter") > 200)) then
|
if ((diag_tickTime > (_group getVariable "timeStamp") + _maxTime) || ( (getPos (leader)) distance2d (_group getVariable "patrolCenter") > _radius)) then
|
||||||
{
|
{
|
||||||
(leader _group) call blck_fnc_changeToMoveWaypoint;
|
(leader _group) call blck_fnc_changeToMoveWaypoint;
|
||||||
#ifdef blck_debugMode
|
#ifdef blck_debugMode
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
|
// TODO: Add pushBack for groups spawned at static missions.
|
||||||
|
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
|
||||||
_fn_waypointComplete = {
|
_fn_waypointComplete = {
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 3/14/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 6/1/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
case 1: [["item1",...,"itemN"],6]; The script will randomly select from the array of item names 6 times and call the loot loader each time.
|
case 1: [["item1",...,"itemN"],6]; The script will randomly select from the array of item names 6 times and call the loot loader each time.
|
||||||
case 2: [["item1",...,"itemN"],6, 9]; As above except that an item will be selected a minimum of 6 and maximum of 9 times.
|
case 2: [["item1",...,"itemN"],6, 9]; As above except that an item will be selected a minimum of 6 and maximum of 9 times.
|
||||||
|
|
||||||
by Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
11/14/16
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
|
// TODO: Check file name which seems to have an extra _ in it.
|
||||||
|
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
If _item is a string then add 1 of that item to the container.
|
If _item is a string then add 1 of that item to the container.
|
||||||
If _item is an array with 2 elements ["itemName",3] then assume that the first element is a string and is the name of the item, and the second is the number to add.
|
If _item is an array with 2 elements ["itemName",3] then assume that the first element is a string and is the name of the item, and the second is the number to add.
|
||||||
if _item is an array with 3 elements ["itemName",2,6] assume that the first element is the item name (string), the second the min # to add and the third the max # to add.
|
if _item is an array with 3 elements ["itemName",2,6] assume that the first element is the item name (string), the second the min # to add and the third the max # to add.
|
||||||
by Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
11/14/16
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
Adds a list of live AI associated with a mission to a que of live AI that will be deleted at a later time by the main thread
|
Adds a list of live AI associated with a mission to a que of live AI that will be deleted at a later time by the main thread
|
||||||
call as [ [list of AI], time] call blck_fnc_addLiveAItoQue; where time is the time delay before deletion occurs
|
call as [ [list of AI], time] call blck_fnc_addLiveAItoQue; where time is the time delay before deletion occurs
|
||||||
|
|
||||||
by Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
Last modified 3-13-17
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Adds the basic list of parameters that define a mission such as the marker name, mission list, mission path, AI difficulty, and timer settings, to the arrays that the main thread inspects.
|
Adds the basic list of parameters that define a mission such as the marker name, mission list, mission path, AI difficulty, and timer settings, to the arrays that the main thread inspects.
|
||||||
|
|
||||||
by Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
Last modified 1-21-17
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
Adds a list of live AI associated with a mission to a que of live AI that will be deleted at a later time by the main thread
|
Adds a list of live AI associated with a mission to a que of live AI that will be deleted at a later time by the main thread
|
||||||
call as [ [list of AI], time] call blck_fnc_addLiveAItoQue; where time is the time delay before deletion occurs
|
call as [ [list of AI], time] call blck_fnc_addLiveAItoQue; where time is the time delay before deletion occurs
|
||||||
|
|
||||||
by Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
Last modified 10-14-16
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 4-11-17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8-13-16
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Dynamic Loot Crate Spaw System for Exile Mod for Arma 3
|
By Ghostrider-GRG-
|
||||||
by
|
Copyright 2016
|
||||||
Ghostrider [GRG]
|
|
||||||
for ghostridergaming
|
|
||||||
4-6-16
|
|
||||||
|
|
||||||
Spawn a crate on land or in the air
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
by Ghostrider
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
schedules deletion of all remaining alive AI and mission objects.
|
schedules deletion of all remaining alive AI and mission objects.
|
||||||
Updates the mission que.
|
Updates the mission que.
|
||||||
Updates mission markers.
|
Updates mission markers.
|
||||||
By Ghostrider GRG
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
|
// TODO: Make sure all groups are captured in the list o factive groups
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
#define delayTime 1
|
#define delayTime 1
|
||||||
private ["_abort","_crates","_aiGroup","_objects","_groupPatrolRadius","_missionLandscape","_mines","_blck_AllMissionAI","_blck_localMissionMarker","_assetKilledMsg","_enemyLeaderConfig",
|
private ["_abort","_crates","_aiGroup","_objects","_groupPatrolRadius","_missionLandscape","_mines","_blck_AllMissionAI","_blck_localMissionMarker","_assetKilledMsg","_enemyLeaderConfig",
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
returns:
|
returns:
|
||||||
_lootarray
|
_lootarray
|
||||||
by Ghostrider [GRG]
|
by Ghostrider [GRG]
|
||||||
1/9-17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// Attach a marker of type _marker to an object _crate
|
// Attach a marker of type _marker to an object _crate
|
||||||
// by Ghostrider [GRG] based on code from Wicked AI for Arma 2 Dayz Epoch
|
// by Ghostrider [GRG] based on code from Wicked AI for Arma 2 Dayz Epoch
|
||||||
// Last modified 8/2/15
|
|
||||||
/////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////
|
||||||
/*
|
/*
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last updated 8-14-16
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
Spawn objects from an array using offsects from a central location.
|
Spawn objects from an array using offsects from a central location.
|
||||||
The code provided by M3Editor EDEN has been addapted to add checks for vehicles, should they be present.
|
The code provided by M3Editor EDEN has been addapted to add checks for vehicles, should they be present.
|
||||||
Returns an array of spawned objects.
|
Returns an array of spawned objects.
|
||||||
version of 10/13/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
[_missionEmplacedWeapons,_noEmplacedWeapons,_aiDifficultyLevel,_coords,_uniforms,_headGear] call blck_fnc_spawnEmplacedWeaponArray;
|
[_missionEmplacedWeapons,_noEmplacedWeapons,_aiDifficultyLevel,_coords,_uniforms,_headGear] call blck_fnc_spawnEmplacedWeaponArray;
|
||||||
Last modified 4/27/17
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -99,7 +98,8 @@ if (blck_debugLevel > 1) then
|
|||||||
// params["_vehType","_pos",["_clearInventory",true]];
|
// params["_vehType","_pos",["_clearInventory",true]];
|
||||||
private _wep = [(_x select 0),[0,0,0],false,true] call blck_fnc_spawnVehicle;
|
private _wep = [(_x select 0),[0,0,0],false,true] call blck_fnc_spawnVehicle;
|
||||||
_wep addMPEventHandler ["MPHit",{[_this] call blck_EH_AIVehicle_HandleDamage}];
|
_wep addMPEventHandler ["MPHit",{[_this] call blck_EH_AIVehicle_HandleDamage}];
|
||||||
_wep setVariable["vehicleGroup",_empGroup];
|
_wep addEventHandler["GetOut",{_this remoteExec["blck_EH_vehicleGetOut",2]}];
|
||||||
|
//_wep setVariable["vehicleGroup",_empGroup];
|
||||||
_wep setVariable["GRG_vehType","emplaced"];
|
_wep setVariable["GRG_vehType","emplaced"];
|
||||||
_wep setPos _pos;
|
_wep setPos _pos;
|
||||||
_wep setdir (random 359);
|
_wep setdir (random 359);
|
||||||
@ -110,6 +110,7 @@ if (blck_debugLevel > 1) then
|
|||||||
_gunner moveingunner _wep;
|
_gunner moveingunner _wep;
|
||||||
_gunner setVariable["GRG_vehType","emplaced"];
|
_gunner setVariable["GRG_vehType","emplaced"];
|
||||||
_gunner setVariable["GRG_vehicle",_wep];
|
_gunner setVariable["GRG_vehicle",_wep];
|
||||||
|
//_gunner addEventHandler["GetOutMan",{_this remoteExec["blck_EH_vehcleManGetOut",2]}];
|
||||||
_emplacedAI append _units;
|
_emplacedAI append _units;
|
||||||
} forEach _missionEmplacedWeapons;
|
} forEach _missionEmplacedWeapons;
|
||||||
blck_monitoredVehicles append _emplacedWeps;
|
blck_monitoredVehicles append _emplacedWeps;
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
//////////////////////////////////////////////////////
|
|
||||||
// Attach a marker of type _marker to an object _crate
|
|
||||||
// by Ghostrider [GRG] based on code from Wicked AI for Arma 2 Dayz Epoch
|
|
||||||
// Last modified 8/2/15
|
|
||||||
/////////////////////////////////////////////////////
|
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
//////////////////////////////////////////////////////
|
|
||||||
// Attach a marker of type _marker to an object _crate
|
|
||||||
// by Ghostrider [GRG] based on code from Wicked AI for Arma 2 Dayz Epoch
|
|
||||||
// Last modified 8/2/15
|
|
||||||
/////////////////////////////////////////////////////
|
|
||||||
/*
|
/*
|
||||||
|
By Ghostrider-GRG-
|
||||||
|
Copyright 2016
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last updated 8-14-16
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
blck_fnc_spawnMissionVehiclePatrols
|
blck_fnc_spawnMissionVehiclePatrols
|
||||||
by Ghostrider [GRG]
|
by Ghostrider [GRG]
|
||||||
3/17/17
|
|
||||||
returns [] if no groups could be created
|
returns [] if no groups could be created
|
||||||
returns [_AI_Vehicles,_missionAI] otherwise;
|
returns [_AI_Vehicles,_missionAI] otherwise;
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
for ghostridergaming
|
for ghostridergaming
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last modified 4/29/17
|
|
||||||
checks the status of each entry in
|
checks the status of each entry in
|
||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
Update the parameters for a mission in the list of missions running at that time.
|
Update the parameters for a mission in the list of missions running at that time.
|
||||||
Call with the name of the marker associated with the mission and either "Active" or "Completed"
|
Call with the name of the marker associated with the mission and either "Active" or "Completed"
|
||||||
by Ghostrider [GRG]
|
by Ghostrider [GRG]
|
||||||
Last modified 1-22-17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
Deals with instances in which a unit is damaged (not in use).
|
Deals with instances in which a unit is damaged (not in use).
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last modified 4-11-17
|
|
||||||
|
|
||||||
unit: Object - Object the event handler is assigned to.
|
unit: Object - Object the event handler is assigned to.
|
||||||
selectionName: String - Name of the selection where the unit was damaged. "" for over-all structural damage, "?" for unknown selections.
|
selectionName: String - Name of the selection where the unit was damaged. "" for over-all structural damage, "?" for unknown selections.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// TODO: Delete?
|
||||||
/*
|
/*
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
Handle case where a unit reloads weapon.
|
Handle case where a unit reloads weapon.
|
||||||
This was used in place of fired event handlers to add realism and deal with issues with the arma engine post v1.64
|
This was used in place of fired event handlers to add realism and deal with issues with the arma engine post v1.64
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last modified 4-11-17
|
|
||||||
|
|
||||||
https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/Reloaded
|
https://community.bistudio.com/wiki/Arma_3:_Event_Handlers/Reloaded
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
_fnc_alertNearbyGroups
|
_fnc_alertNearbyGroups
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
9-20-15
|
|
||||||
Allerts all units within the nearest group to the location of a killer.
|
Allerts all units within the nearest group to the location of a killer.
|
||||||
** Not in use at this time; reserved for the future **
|
** Not in use at this time; reserved for the future **
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
_fnc_alertNearbyUnits
|
_fnc_alertNearbyUnits
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
9-20-15
|
|
||||||
Allerts all units within a certain radius of the location of a killer.
|
Allerts all units within a certain radius of the location of a killer.
|
||||||
** Not in use at this time; reserved for the future **
|
** Not in use at this time; reserved for the future **
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -23,4 +23,3 @@ private _nearestVehicle = _nearestVehicles select 0;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,16 @@
|
|||||||
/*
|
/*
|
||||||
_fnc_alertNearestGroup
|
_fnc_alertNearestGroup
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
params["_group"];
|
params["_group"];
|
||||||
private _nearbyGroup = [group _unit] call blck_fnc_findNearestGroup;
|
private _nearbyGroup = [group _unit] call blck_fnc_findNearestGroup;
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Delete alive AI.
|
Delete alive AI.
|
||||||
Now called from the main thread which tracks the time elapsed so that we no longer spawn a wait timer for each completed mission.
|
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
Last updated 4/11/17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Delete a unit.
|
Delete a unit.
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
Last updated 1/22/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
calculate a reward player for AI Kills in crypto.
|
calculate a reward player for AI Kills in crypto.
|
||||||
Code fragment adapted from VEMF
|
Code fragment adapted from VEMF
|
||||||
call as [_unit,_killer] call blck_fnc_handlePlayerUpdates;
|
call as [_unit,_killer] call blck_fnc_handlePlayerUpdates;
|
||||||
Last modified 6/3/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// Probably not used -
|
||||||
|
// TODO: delete ?
|
||||||
/*
|
/*
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last Modified 7-27-17
|
|
||||||
|
|
||||||
Handles the case where a unit is hit.
|
Handles the case where a unit is hit.
|
||||||
|
|
||||||
@ -12,7 +11,7 @@
|
|||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
if !(isServer) exitWith {};
|
||||||
private ["_unit","_instigator","_group","_wp"];
|
private ["_unit","_instigator","_group","_wp"];
|
||||||
_unit = _this select 0 select 0;
|
_unit = _this select 0 select 0;
|
||||||
_instigator = _this select 0 select 3;
|
_instigator = _this select 0 select 3;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Handle AI Deaths
|
Handle AI Deaths
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -12,50 +12,31 @@
|
|||||||
|
|
||||||
// assumptions: this is always run on the server rgardless if th event is triggered on an HC or other client.
|
// assumptions: this is always run on the server rgardless if th event is triggered on an HC or other client.
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
if !(isServer) exitWith {};
|
||||||
params["_unit","_killer","_instigator"];
|
params["_unit","_killer","_instigator"];
|
||||||
//diag_log format["_fnc_processAIKill: _unit = %1 | _killer = %2",_unit,_killer];
|
//diag_log format["_fnc_processAIKill: _unit = %1 | _killer = %2",_unit,_killer];
|
||||||
if (_unit getVariable["blck_cleanupAt",-1] > 0) exitWith {}; // this is here so that the script is not accidently run more than once for each MPKilled occurrence.
|
if (_unit getVariable["blck_cleanupAt",-1] > 0) exitWith {}; // this is here so that the script is not accidently run more than once for each MPKilled occurrence.
|
||||||
_unit setVariable ["blck_cleanupAt", (diag_tickTime) + blck_bodyCleanUpTimer];
|
_unit setVariable ["blck_cleanupAt", (diag_tickTime) + blck_bodyCleanUpTimer];
|
||||||
blck_deadAI pushback _unit;
|
blck_deadAI pushback _unit;
|
||||||
private _group = group _unit;
|
if (count(units (group _unit)) isEqualTo 0) then
|
||||||
[_unit] joinSilent grpNull;
|
|
||||||
if (count(units _group) == 0) then
|
|
||||||
{
|
{
|
||||||
deleteGroup _group;
|
deleteGroup _group;
|
||||||
};
|
};
|
||||||
|
[_unit] joinSilent grpNull;
|
||||||
if !((vehicle _unit) isKindOf "Man") then
|
if !(_unit isKindOf "Man") then
|
||||||
{
|
{
|
||||||
private _veh = vehicle _unit;
|
//diag_log format["_fnc_processAIKill: unit linked to crew of vehicle %1 | typeOf (vehicle _unit = %2)",vehicle _unit,typeOf (vehicle _unit)];
|
||||||
//diag_log format["_processAIKill: _unit %1 is in vehicle %2",_unit,_veh];
|
|
||||||
if ({alive _x} count (crew _veh) == 0) then
|
|
||||||
{
|
|
||||||
//diag_log format["_processAIKill: no units alive in vehicle %1 of type %2",_veh, typeOf _veh];
|
|
||||||
if (_veh getVariable["GRG_vehType","none"] isEqualTo "emplaced") then
|
|
||||||
{
|
|
||||||
//diag_log format["_fnc_processAIKill: emplaced weapon %1 being handled",_veh];
|
|
||||||
[_veh] call GMS_fnc_handleEmptyStaticWeapon;
|
|
||||||
} else {
|
|
||||||
if (blck_killEmptyAIVehicles) then
|
|
||||||
{
|
|
||||||
//diag_log format["_processAIKill: disabling vehicle %1 and setting a delete time",_veh];
|
|
||||||
_veh setDamage 0.7;
|
|
||||||
_veh setFuel 0;
|
|
||||||
_veh setVariable["blck_deleteAtTime",diag_tickTime + 60];
|
|
||||||
} else {
|
|
||||||
//diag_log format["_processAIKill: releasing vehicle %1 to players and setting a default delete timer",_veh];
|
|
||||||
_veh setVariable["blck_deleteAtTime",diag_tickTime + blck_vehicleDeleteTimer,true];
|
|
||||||
[_veh] call blck_fnc_releaseVehicleToPlayers;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
[_unit, ["Eject", vehicle _unit]] remoteExec ["action",(owner _unit)];
|
[_unit, ["Eject", vehicle _unit]] remoteExec ["action",(owner _unit)];
|
||||||
|
//[vehicle _unit,_unit] call blck_fnc_checkForEmptyVehicle;
|
||||||
|
/*
|
||||||
} else {
|
} else {
|
||||||
if (_unit getVariable["GRG_vehType","none"] isEqualTo "emplaced") then
|
if !(_unit getVariable["GRG_vehicle","none"] isEqualTo "none") then
|
||||||
{
|
{
|
||||||
[_unit getVariable "GRG_vehicle"] call GMS_fnc_handleEmptyStaticWeapon;
|
diag_log format["_fnc_processAIKill: unit linked to crew of vehicle %1",vehicle _unit];
|
||||||
|
[_unit, ["Eject", vehicle _unit]] remoteExec ["action",(owner _unit)];
|
||||||
|
[vehicle _unit,_unit] call blck_fnc_checkForEmptyVehicle;
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
if (blck_launcherCleanup) then {[_unit] call blck_fnc_removeLaunchers};
|
if (blck_launcherCleanup) then {[_unit] call blck_fnc_removeLaunchers};
|
||||||
@ -63,9 +44,9 @@ if (blck_removeNVG) then {[_unit] call blck_fnc_removeNVG};
|
|||||||
if !(isPlayer _killer) exitWith {};
|
if !(isPlayer _killer) exitWith {};
|
||||||
[_unit,_killer,50] call GMS_fnc_alertNearbyGroups;
|
[_unit,_killer,50] call GMS_fnc_alertNearbyGroups;
|
||||||
[_killer] call blck_fnc_alertNearbyVehicles;
|
[_killer] call blck_fnc_alertNearbyVehicles;
|
||||||
private _wp = [_group, currentWaypoint _group];
|
private _wp = [group _unit, currentWaypoint (group _unit)];
|
||||||
_wp setWaypointBehaviour "COMBAT";
|
_wp setWaypointBehaviour "COMBAT";
|
||||||
_group setCombatMode "RED";
|
(group _unit) setCombatMode "RED";
|
||||||
_wp setWaypointCombatMode "RED";
|
_wp setWaypointCombatMode "RED";
|
||||||
|
|
||||||
if (blck_showCountAliveAI) then
|
if (blck_showCountAliveAI) then
|
||||||
@ -74,7 +55,7 @@ if (blck_showCountAliveAI) then
|
|||||||
[_x select 0, _x select 1, _x select 2] call blck_fnc_updateMarkerAliveCount;
|
[_x select 0, _x select 1, _x select 2] call blck_fnc_updateMarkerAliveCount;
|
||||||
} forEach blck_missionMarkers;
|
} forEach blck_missionMarkers;
|
||||||
};
|
};
|
||||||
private _isLegal = [_unit,_killer] call blck_fnc_processIlleagalAIKills;
|
|
||||||
if (_isLegal) then {
|
if ([_unit,_killer] call blck_fnc_processIlleagalAIKills) then {
|
||||||
[_unit,_killer] call GMS_fnc_handlePlayerUpdates;
|
[_unit,_killer] call GMS_fnc_handlePlayerUpdates;
|
||||||
};
|
};
|
@ -51,5 +51,5 @@ if (_killer == (driver (vehicle _killer))) then // If the killer is also the dr
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
diag_log format["_fnc_testForIllegalKills: _legal = %1",_legal];
|
//diag_log format["_fnc_testForIllegalKills: _legal = %1",_legal];
|
||||||
_legal
|
_legal
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last Modified 7-27-17
|
|
||||||
|
|
||||||
Handles the case where a vehicle is hit.
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
1-22-17
|
|
||||||
Removes an AI launcher and ammo
|
Removes an AI launcher and ammo
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
8-13-16
|
|
||||||
Remove NVG from AI
|
Remove NVG from AI
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Set skills for an AI Unit
|
Set skills for an AI Unit
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
Last updated 8/14/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Author: Ghostrider [GRG]
|
Author: Ghostrider [GRG]
|
||||||
Inspiration: blckeagls / A3EAI / VEMF / IgiLoad / SDROP
|
Inspiration: blckeagls / A3EAI / VEMF / IgiLoad / SDROP
|
||||||
License: Attribution-NonCommercial-ShareAlike 4.0 International
|
License: Attribution-NonCommercial-ShareAlike 4.0 International
|
||||||
3/17/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -10,11 +10,6 @@
|
|||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
|
||||||
--------------------------
|
|
||||||
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
|
||||||
|
|
||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
||||||
*/
|
*/
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
//#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
//#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
if !(isDedicated) exitWith {};
|
if !(isServer) exitWith {};
|
||||||
_this call blck_fnc_HandleAIVehicleHit;
|
_this call blck_fnc_HandleAIVehicleHit;
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
*/
|
*/
|
||||||
//#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
//#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
if !(isDedicated) exitWith {};
|
if !(isServer) exitWith {};
|
||||||
_this call blck_fnc_processAIVehicleKill;
|
_this call blck_fnc_processAIVehicleKill;
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
private ["_veh","_instigator","_group","_wp"];
|
private ["_veh","_instigator","_group","_wp"];
|
||||||
|
|
||||||
_veh = _this select 0 select 0;
|
_veh = _this select 0;
|
||||||
_instigator = _this select 0 select 3;
|
_instigator = _this select 3;
|
||||||
//diag_log format["_fnc_HandleAIVehicleHit: _veh = %1 | _instigator = %2",_veh,_instigator];
|
//diag_log format["_fnc_HandleAIVehicleHit: _veh = %1 | _instigator = %2",_veh,_instigator];
|
||||||
if (!(isPlayer _instigator)) exitWith {};
|
if (!(isPlayer _instigator)) exitWith {};
|
||||||
_crew = crew _veh;
|
_crew = crew _veh;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Killed handler for _units
|
|
||||||
By Ghostrider-GRG-
|
By Ghostrider-GRG-
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
@ -12,5 +12,5 @@
|
|||||||
|
|
||||||
private["_vd"];
|
private["_vd"];
|
||||||
params["_vk"];
|
params["_vk"];
|
||||||
_vd = getDammage _vk;
|
_vd = damage _vk;
|
||||||
_vk setDamage (_vd + blck_RunGearDamage);
|
_vk setDamage (_vd + blck_RunGearDamage);
|
@ -2,7 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last updated 3-14-17
|
|
||||||
|
|
||||||
spawns a vehicle of _vehType and mans it with units in _group.
|
spawns a vehicle of _vehType and mans it with units in _group.
|
||||||
returns _veh, the vehicle spawned.
|
returns _veh, the vehicle spawned.
|
||||||
@ -21,7 +20,8 @@ if (_clearInventory) then
|
|||||||
{
|
{
|
||||||
[_veh] call blck_fnc_emptyObject;
|
[_veh] call blck_fnc_emptyObject;
|
||||||
};
|
};
|
||||||
_veh setVehicleLock "LOCKEDPLAYER";
|
//_veh setVehicleLock "LOCKEDPLAYER";
|
||||||
|
_veh lock 0;
|
||||||
if (blck_modType isEqualTo "Epoch") then
|
if (blck_modType isEqualTo "Epoch") then
|
||||||
{
|
{
|
||||||
if (blck_allowSalesAtBlackMktTraders) then {_veh setVariable["HSHALFPRICE",1,true]};
|
if (blck_allowSalesAtBlackMktTraders) then {_veh setVariable["HSHALFPRICE",1,true]};
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Delete a unit.
|
Delete a unit.
|
||||||
by Ghostrider
|
by Ghostrider
|
||||||
Last updated 1/22/17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Killed handler for _units
|
|
||||||
By Ghostrider-GRG-
|
By Ghostrider-GRG-
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// GMS_fnc_handleEmptyStaticWeapon.sqf
|
// GMS_fnc_handleEmptyStaticWeapon.sqf
|
||||||
|
// NOT USED AT PRESENT
|
||||||
/*
|
/*
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ diag_log format["_fnc_processAIVehicleKill: _this = %1",_this];
|
|||||||
diag_log format["_fnc_processAIVehicleKill:: _units = %1 and _instigator = %2 units damage is %3",_veh,_instigator, damage _veh];
|
diag_log format["_fnc_processAIVehicleKill:: _units = %1 and _instigator = %2 units damage is %3",_veh,_instigator, damage _veh];
|
||||||
|
|
||||||
if (!(isPlayer _instigator)) exitWith {};
|
if (!(isPlayer _instigator)) exitWith {};
|
||||||
_crew = crew _veh;
|
|
||||||
if !(count _crew == 0) then
|
if !(count(crew _veh) isEqualTo 0) then
|
||||||
{
|
{
|
||||||
[_crew select 0,_instigator] call blck_fnc_alertGroupUnits;
|
[_crew select 0,_instigator] call blck_fnc_alertGroupUnits;
|
||||||
_group setBehaviour "COMBAT";
|
_group setBehaviour "COMBAT";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Protect Vehicles from being cleaned up by the server
|
// Protect Vehicles from being cleaned up by the server
|
||||||
// Last modified 2/26/16 by Ghostrider [GRG]
|
|
||||||
/*
|
/*
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -12,12 +12,13 @@
|
|||||||
// assummptions: since this is called after an AI Killed event that always runs on the server we can assume this code will too.
|
// assummptions: since this is called after an AI Killed event that always runs on the server we can assume this code will too.
|
||||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||||
|
|
||||||
params["_veh"];
|
params["_veh"];
|
||||||
[_veh] call GMS_fnc_unlockServerVehicle;
|
diag_log format["_fnc_releaseVehicleToPlayers: _veh = %1",_veh];
|
||||||
{
|
[_veh] call GMS_fnc_unlockServerVehicle;
|
||||||
_veh removealleventhandlers _x;
|
{
|
||||||
} forEach ["GetIn","GetOut","fired","hit","hitpart","reloaded","dammaged","HandleDamage"];
|
_veh removealleventhandlers _x;
|
||||||
{
|
} forEach ["GetIn","GetOut","fired","hit","hitpart","reloaded","dammaged","HandleDamage"];
|
||||||
_veh removeAllMPEventHandlers _x;
|
{
|
||||||
} forEach ["MPHit","MPKilled"];
|
_veh removeAllMPEventHandlers _x;
|
||||||
if ((damage _veh) > 0.6) then {_veh setDamage 0.6}; // So they don't blow up when a player tries to get in.
|
} forEach ["MPHit","MPKilled"];
|
||||||
|
if ((damage _veh) > 0.6) then {_veh setDamage 0.6}; // So they don't blow up when a player tries to get in.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Killed handler for _units
|
Reloaded eventhandler for _units
|
||||||
By Ghostrider-GRG-
|
By Ghostrider-GRG-
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -3,7 +3,16 @@
|
|||||||
algorhytm one: pure chance base on inverse of distance. More efficient.
|
algorhytm one: pure chance base on inverse of distance. More efficient.
|
||||||
algorhythm two: based on canSee. More detailed.
|
algorhythm two: based on canSee. More detailed.
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
params["_vehicle","_searchRadius","_detectionOdds"];
|
params["_vehicle","_searchRadius","_detectionOdds"];
|
||||||
private["_player","_detectionOdds","_nearbyPlayers","_knowsAbout","_cansee","_knowledgeGained"];
|
private["_player","_detectionOdds","_nearbyPlayers","_knowsAbout","_cansee","_knowledgeGained"];
|
||||||
_nearbyPlayers = [position _vehicle, _vehicle getVariable["blck_vehicleSearchRange",500]] call blck_fnc_nearestPlayers;
|
_nearbyPlayers = [position _vehicle, _vehicle getVariable["blck_vehicleSearchRange",500]] call blck_fnc_nearestPlayers;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
// GMS_fnc_vehiclePlayerSensingLogic.sqf
|
// GMS_fnc_vehiclePlayerSensingLogic.sqf
|
||||||
|
|
||||||
// No params
|
// No params
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
|
/*
|
||||||
|
By Ghostrider [GRG]
|
||||||
|
Copyright 2016
|
||||||
|
--------------------------
|
||||||
|
License
|
||||||
|
--------------------------
|
||||||
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
||||||
|
|
||||||
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||||
|
*/
|
||||||
params["_vehicle","_group","searchRadius","_detectionOdds"];
|
params["_vehicle","_group","searchRadius","_detectionOdds"];
|
||||||
private["_nearbyPlayers","_groupLeader","_knowsAbout","_cansee"];
|
private["_nearbyPlayers","_groupLeader","_knowsAbout","_cansee"];
|
||||||
_groupLeader = leader _group;
|
_groupLeader = leader _group;
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
Spawn a vehicle and protect it against cleanup by Epoch
|
Spawn a vehicle and protect it against cleanup by Epoch
|
||||||
Returns the object (vehicle) created.
|
Returns the object (vehicle) created.
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Last modified 1-27-17
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
--------------------------
|
--------------------------
|
||||||
|
@ -83,12 +83,12 @@ if !(isNull _grpPilot) then
|
|||||||
_patrolHeli setVariable["blck_vehicle",true];
|
_patrolHeli setVariable["blck_vehicle",true];
|
||||||
_patrolHeli setVariable["blck_vehicleSearchRadius",blck_playerDetectionRangeAir];
|
_patrolHeli setVariable["blck_vehicleSearchRadius",blck_playerDetectionRangeAir];
|
||||||
_patrolHeli setVariable["blck_vehiclePlayerDetectionOdds",blck_vehiclePlayerDetectionOdds];
|
_patrolHeli setVariable["blck_vehiclePlayerDetectionOdds",blck_vehiclePlayerDetectionOdds];
|
||||||
|
_patrolHeli addEventHandler["GetOut",{_this remoteExec["blck_EH_vehicleGetOut",2]}];
|
||||||
[_patrolHeli] call blck_fnc_protectVehicle;
|
[_patrolHeli] call blck_fnc_protectVehicle;
|
||||||
_patrolHeli setFuel 1;
|
_patrolHeli setFuel 1;
|
||||||
_patrolHeli engineOn true;
|
_patrolHeli engineOn true;
|
||||||
_patrolHeli flyInHeight 100;
|
_patrolHeli flyInHeight 100;
|
||||||
_patrolHeli setVehicleLock "LOCKED";
|
_patrolHeli setVehicleLock "LOCKED";
|
||||||
//_patrolHeli addEventHandler ["GetOut",{(_this select 0) setFuel 0;(_this select 0) setDamage 1;}];
|
|
||||||
|
|
||||||
#ifdef blck_debugMode
|
#ifdef blck_debugMode
|
||||||
if (blck_debugLevel > 1) then
|
if (blck_debugLevel > 1) then
|
||||||
@ -103,6 +103,8 @@ if !(isNull _grpPilot) then
|
|||||||
//params["_pos","_aiGroup",["_skillLevel","red"],["_uniforms", []],["_headGear",[]],["_vests",[]],["_backpacks",[]],["_Launcher","none"],["_weaponList",[]],["_sideArms",[]],["_scuba",false]];
|
//params["_pos","_aiGroup",["_skillLevel","red"],["_uniforms", []],["_headGear",[]],["_vests",[]],["_backpacks",[]],["_Launcher","none"],["_weaponList",[]],["_sideArms",[]],["_scuba",false]];
|
||||||
_unitPilot = [[100,100,100],_grpPilot,_skillAI,_uniforms,_headGear,_vests,_backpacks,_Launcher,_weaponList,_sideArms] call blck_fnc_spawnUnit;
|
_unitPilot = [[100,100,100],_grpPilot,_skillAI,_uniforms,_headGear,_vests,_backpacks,_Launcher,_weaponList,_sideArms] call blck_fnc_spawnUnit;
|
||||||
_unitPilot setSkill 1;
|
_unitPilot setSkill 1;
|
||||||
|
_unitPilot setVariable["GRG_vehicle",_patrolHeli];
|
||||||
|
//_unitPilot addEventHandler["GetOutman",{_this remoteExec["blck_EH_vehcleManGetOut",2]}];
|
||||||
_unitPilot assignAsDriver _patrolHeli;
|
_unitPilot assignAsDriver _patrolHeli;
|
||||||
_unitPilot moveInDriver _patrolHeli;
|
_unitPilot moveInDriver _patrolHeli;
|
||||||
_grpPilot selectLeader _unitPilot;
|
_grpPilot selectLeader _unitPilot;
|
||||||
@ -145,7 +147,8 @@ if !(isNull _grpPilot) then
|
|||||||
_unitCrew = [(getPosATL _patrolHeli),_grpPilot,_skillAI,_uniforms,_headGear,_vests,_backpacks,_Launcher,_weaponList,_sideArms] call blck_fnc_spawnUnit;
|
_unitCrew = [(getPosATL _patrolHeli),_grpPilot,_skillAI,_uniforms,_headGear,_vests,_backpacks,_Launcher,_weaponList,_sideArms] call blck_fnc_spawnUnit;
|
||||||
_unitCrew assignAsTurret [_patrolHeli, _x];
|
_unitCrew assignAsTurret [_patrolHeli, _x];
|
||||||
_unitCrew moveInTurret [_patrolHeli, _x];
|
_unitCrew moveInTurret [_patrolHeli, _x];
|
||||||
|
_unitCrew setVariable["GRG_vehicle",_patrolHeli];
|
||||||
|
//_unitCrew addEventHandler["GetOutman",{_this remoteExec["blck_EH_vehcleManGetOut",2]}];
|
||||||
#ifdef blck_debugMode
|
#ifdef blck_debugMode
|
||||||
diag_log format["_fnc_spawnMissionHeli (12798)::-- >> unit %1 moved into turret %2 of vehicle %3",_unitCrew,_x,_patrolHeli];
|
diag_log format["_fnc_spawnMissionHeli (12798)::-- >> unit %1 moved into turret %2 of vehicle %3",_unitCrew,_x,_patrolHeli];
|
||||||
#endif
|
#endif
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
Author: Ghostrider [GRG]
|
Author: Ghostrider [GRG]
|
||||||
Inspiration: blckeagls / A3EAI / VEMF / IgiLoad / SDROP
|
Inspiration: blckeagls / A3EAI / VEMF / IgiLoad / SDROP
|
||||||
License: Attribution-NonCommercial-ShareAlike 4.0 International
|
License: Attribution-NonCommercial-ShareAlike 4.0 International
|
||||||
3/17/17
|
|
||||||
|
|
||||||
This is basically a container that determines whether a paragroop group should be created and if so creates a group and passes it off to the routine that spawns the paratroops.
|
This is basically a container that determines whether a paragroop group should be created and if so creates a group and passes it off to the routine that spawns the paratroops.
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8-16-17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
By Ghostrider [GRG]
|
By Ghostrider [GRG]
|
||||||
Copyright 2016
|
Copyright 2016
|
||||||
Last Modified 8-16-17
|
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
License
|
License
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user