Commit 4cdfffff authored by Superxpdude's avatar Superxpdude

Added an ACE fortify event handler to ensure that traffic cones and road barriers can be carried.

parent de6331a5
......@@ -111,4 +111,19 @@ if (side (group player) == west) then {
if (((side (group _unit)) != west) AND ((side (group _instigator)) == west)) then {
_this remoteExec ["J23_fnc_civKilledServer",2];
};
}] call CBA_fnc_addEventHandler;
// ACE Fortify placed event handler
["acex_fortify_objectPlaced", {
params ["_unit", "_side", "_obj"];
private _objTypes = [
"roadcone_f",
"roadcone_l_f",
"roadbarrier_small_f",
"arrowdesk_l_f",
"arrowdesk_r_f"
];
if ((toLower typeOf _obj) in _objTypes) then {
[_obj, true, [0, 2, 1], 0] call ace_dragging_fnc_setCarryable;
};
}] call CBA_fnc_addEventHandler;
\ No newline at end of file
......@@ -16,7 +16,7 @@ class EditorData
};
class LayerIndexProvider
{
nextID=583;
nextID=589;
};
class Camera
{
......@@ -12307,7 +12307,7 @@ class Mission
};
};
id=1205;
atlOffset=-1.919136;
atlOffset=9.8441467;
};
class Item169
{
......@@ -24112,7 +24112,7 @@ class Mission
class PositionInfo
{
position[]={5996.855,83.041443,11581.297};
angles[]={-0,0.7832514,0};
angles[]={0,0.7832514,0};
};
side="West";
flags=4;
......@@ -24984,6 +24984,7 @@ class Mission
};
id=1923;
type="Box_NATO_Equip_F";
atlOffset=-0.00044250488;
};
class Item371
{
......@@ -25001,6 +25002,7 @@ class Mission
};
id=1924;
type="B_supplyCrate_F";
atlOffset=-6.1035156e-005;
class CustomAttributes
{
class Attribute0
......@@ -25538,7 +25540,7 @@ class Mission
};
};
id=1927;
atlOffset=0.18904114;
atlOffset=0.13059998;
};
class Item373
{
......@@ -25778,6 +25780,7 @@ class Mission
};
id=1935;
type="Box_NATO_Equip_F";
atlOffset=-2.2888184e-005;
};
class Item380
{
......@@ -25915,6 +25918,7 @@ class Mission
};
id=1941;
type="Box_NATO_Equip_F";
atlOffset=-6.1035156e-005;
};
class Item384
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment