Created
March 9, 2017 16:47
-
-
Save dedmen/b3079dbd22d761c0c98e1b957432672e to your computer and use it in GitHub Desktop.
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
{ | |
"callstack": [ | |
{ | |
"contentSample": "call cba_common_fnc_onFrame", | |
"fileName": "", | |
"ip": 3, | |
"lastInstruction": { | |
"fileOffset": [ | |
1, | |
0 | |
], | |
"filename": "", | |
"name": "function call", | |
"type": "class GameInstructionFunction" | |
}, | |
"type": "class CallStackItemSimple", | |
"variables": null | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\nprivate _tickTime = diag_tickTime;\ncall cba_common_fnc_missionTimePFH;\n\n\n{\n_x params [\"_function\", ", | |
"final": true, | |
"ip": 10, | |
"lastInstruction": { | |
"fileOffset": [ | |
14, | |
254 | |
], | |
"filename": "", | |
"name": "operator count", | |
"type": "class GameInstructionOperator" | |
}, | |
"type": "class CallStackItemData", | |
"variables": { | |
"_ticktime": { | |
"type": "float", | |
"value": "415.722" | |
} | |
} | |
}, | |
{ | |
"type": "class CallStackItemArrayCount", | |
"variables": null | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\n_x params [\"_function\", \"_delay\", \"_delta\", \"\", \"_args\", \"_handle\"];\n\nif (diag_tickTime > _delta) t", | |
"final": true, | |
"ip": 17, | |
"lastInstruction": { | |
"fileOffset": [ | |
9, | |
174 | |
], | |
"filename": "", | |
"name": "operator then", | |
"type": "class GameInstructionOperator" | |
}, | |
"type": "class CallStackItemData", | |
"variables": { | |
"_args": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "object", | |
"value": "B Alpha 1-1:1 (dedmen)" | |
}, | |
{ | |
"type": "string", | |
"value": "\"APERSBoundingMine_Range_Mag\"" | |
}, | |
{ | |
"type": "string", | |
"value": "\"ACE_Explosives_Place_APERSBoundingMine\"" | |
}, | |
{ | |
"type": "bool", | |
"value": "false" | |
} | |
] | |
}, | |
"_delay": { | |
"type": "float", | |
"value": "0" | |
}, | |
"_delta": { | |
"type": "float", | |
"value": "415.668" | |
}, | |
"_function": { | |
"type": "code", | |
"value": "{\n;\n\nparams [\"_args\", \"_pfID\"];\n_args params [\"_unit\", \"_magClassname\", \"_setupObjectClass\", \"_isAttachable\"];\n\nprivate [\"_angle\", \"_attachVehicle\", \"_badPosition\", \"_basePosASL\", \"_cameraAngle\", \"_distanceFromBase\", \"_expSetupVehicle\", \"_index\", \"_intersectsWith\", \"_lookDirVector\", \"_max\", \"_min\", \"_modelDir\", \"_modelOffset\", \"_modelUp\", \"_placeAngle\", \"_realDistance\", \"_return\", \"_screenPos\", \"_testBase\", \"_testPos\", \"_testPositionIsValid\", \"_virtualPosASL\"];\n\n_lookDirVector = ((positionCameraToWorld [0,0,0]) call ace_common_fnc_positionToASL) vectorFromTo ((positionCameraToWorld [0,0,10]) call ace_common_fnc_positionToASL);\n_basePosASL = (eyePos _unit);\nif (cameraView == \"EXTERNAL\") then { \n_basePosASL = _basePosASL vectorAdd ((positionCameraToWorld [0.3,0,0]) vectorDiff (positionCameraToWorld [0,0,0]));\n};\nif ((stance _unit) == \"PRONE\") then {\n\n_basePosASL set [2, ((_basePosASL select 2) - 0.3)];\n_lookDirVector = ((positionCameraToWorld [0,0,0]) call ace_common_fnc_positionToASL) vectorFromTo ((positionCameraToWorld [0,3,10]) call ace_common_fnc_positionToASL);\n};\n_cameraAngle = (_lookDirVector select 0) atan2 (_lookDirVector select 1);\n\n_testPositionIsValid = {\n_testBase = _basePosASL vectorAdd (_lookDirVector vectorMultiply (_this select 0));\n_return = true;\n{\n_testPos = _testBase vectorAdd [0.1 * (_x select 0) * (cos _cameraAngle), 0.1 * (_x select 0) * (sin _cameraAngle), 0.1 * (_x select 1)];\n\nif (lineIntersects [eyePos _unit, _testPos, _unit]) exitWith {_return = false;};\n} forEach [[0,0], [-1,-1], [1,-1], [-1,1], [1,1]];\n_return\n};\n\n_distanceFromBase = 1;\n_badPosition = !([_distanceFromBase] call _testPositionIsValid);\n_attachVehicle = objNull;\n\nif (_isAttachable && _badPosition) then {\n_attachVehicle = objNull;\n_testBase = _basePosASL vectorAdd _lookDirVector;\n{\n_testPos = _testBase vectorAdd [0.1 * (_x select 0) * (cos _cameraAngle), 0.1 * (_x select 0) * (sin _cameraAngle), 0.1 * (_x select 1)];\n_intersectsWith = lineIntersectsWith [eyePos _unit, _testPos, _unit];\nif (count _intersectsWith == 1) exitWith {_attachVehicle = (_intersectsWith select 0);};\n} forEach [[0,0], [-1,-1], [1,-1], [-1,1], [1,1]];\nif ((!isNull _attachVehicle) && {[0.025] call _testPositionIsValid} &&\n{(_attachVehicle isKindOf \"Car\") || {_attachVehicle isKindOf \"Tank\"} || {_attachVehicle isKindOf \"Air\"} || {_attachVehicle isKindOf \"Ship\"}}) then {\n_min = 0.025;\n_max = 1;\nfor \"_index\" from 0 to 6 do {\n_distanceFromBase = (_min + _max) / 2;\nif ([_distanceFromBase] call _testPositionIsValid) then {\n_min = _distanceFromBase;\n} else {\n_max = _distanceFromBase;\n};\n};\n_badPosition = false;\n_distanceFromBase = ((_min + _max) / 2 + 0.075) min 1;\n} else {\n_attachVehicle = objNull;\n};\n};\n\n_virtualPosASL = _basePosASL vectorAdd (_lookDirVector vectorMultiply _distanceFromBase);\n\n\nif (_badPosition) then {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_BlockedAction\";\n} else {\nif (isNull _attachVehicle) then {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_PlaceAction\";\n} else {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_AttachAction\";\n};\n};\n\n\nif ((getTerrainHeightASL _virtualPosASL) > (_virtualPosASL select 2)) then {\n_virtualPosASL set [2, (getTerrainHeightASL _virtualPosASL)];\n};\n\n\nif (_badPosition && {ace_explosives_placeAction == 1}) then {ace_explosives_placeAction = -1;};\n\nif (_unit != ACE_player ||\n{!([_unit, objNull, [\"isNotSwimming\"]] call ace_common_fnc_canInteractWith)} ||\n{!(_magClassname in (magazines _unit))}\n) then {\nace_explosives_placeAction = 0;\n};\n\nif (ace_explosives_placeAction != -1) then {\n[_pfID] call CBA_fnc_removePerFrameHandler;\nace_explosives_pfeh_running = false;\n\n[_unit, \"forceWalk\", \"ACE_Explosives\", false] call ace_common_fnc_statusEffect_set;\n[] call ace_interaction_fnc_hideMouseHint;\n[_unit, \"DefaultAction\", (_unit getVariable [\"ace_explosives_placeActionEH\", -1])] call ace_common_fnc_removeActionEventHandler;\n[_unit, \"zoomtemp\", (_unit getVariable [\"ace_explosives_cancelActionEH\", -1])] call ace_common_fnc_removeActionEventHandler;\n\n(\"ace_explosives_virtualAmmo\" call BIS_fnc_rscLayer) cutText [\"\", \"PLAIN\"];\n\nif (ace_explosives_placeAction == 1) then {\n_placeAngle = 0;\n_expSetupVehicle = _setupObjectClass createVehicle (_virtualPosASL call ace_common_fnc_ASLToPosition);\n\n;\n\nif ((getMass _expSetupVehicle) > 5) then {_expSetupVehicle setMass 5;};\n\nif (isNull _attachVehicle) then {\n_placeAngle = _cameraAngle - ace_explosives_TweakedAngle + 180;\n_expSetupVehicle setPosAsl _virtualPosASL;\n_expSetupVehicle setDir _placeAngle;\n_placeAngle = _placeAngle + 180; \n} else {\n_modelOffset = _attachVehicle worldToModel (_virtualPosASL call ace_common_fnc_ASLToPosition);\n_placeAngle = _cameraAngle - (getDir _attachVehicle) + 180;\n_expSetupVehicle attachTo [_attachVehicle, _modelOffset];\n_expSetupVehicle setVectorDirAndUp [[0,0,-1],[(sin _placeAngle),(cos _placeAngle),0]];\n};\n\n;\n\n_expSetupVehicle setVariable [\"ace_explosives_class\", _magClassname, true];\n_expSetupVehicle setVariable [\"ace_explosives_Direction\", _placeAngle, true];\n\n_unit removeMagazine _magClassname;\n[_unit, \"PutDown\"] call ace_common_fnc_doGesture;\n_unit setVariable [\"ace_explosives_PlantingExplosive\", true];\n[{_this setVariable [\"ace_explosives_PlantingExplosive\", false]}, _unit, 1.5] call CBA_fnc_waitAndExecute;\n\n};\n} else {\n_screenPos = worldToScreen (_virtualPosASL call ace_common_fnc_ASLToPosition);\nif (_badPosition || {_screenPos isEqualTo []}) then {\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlShow false;\n} else {\n\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlShow true;\n\n_realDistance = ((_virtualPosASL call ace_common_fnc_ASLToPosition) distance (positionCameraToWorld [0,0,0])) / ((call CBA_fnc_getFov) select 1);\n_screenPos = [(_screenPos select 0), _realDistance, (_screenPos select 1)];\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlSetPosition _screenPos;\n\n_modelDir = [0,0,-1];\n_modelUp = [0,-1,0];\nif (isNull _attachVehicle) then {\n_angle = acos (_lookDirVector select 2);\n_modelUp = [0, (cos _angle), (sin _angle)];\n_modelDir = [cos ace_explosives_TweakedAngle, sin ace_explosives_TweakedAngle, 0] vectorCrossProduct _modelUp;\n};\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlSetModelDirAndUp [_modelDir, _modelUp];\n};\n};\n\n;\n}" | |
}, | |
"_handle": { | |
"type": "float", | |
"value": "17" | |
}, | |
"_x": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "code", | |
"value": "{\n;\n\nparams [\"_args\", \"_pfID\"];\n_args params [\"_unit\", \"_magClassname\", \"_setupObjectClass\", \"_isAttachable\"];\n\nprivate [\"_angle\", \"_attachVehicle\", \"_badPosition\", \"_basePosASL\", \"_cameraAngle\", \"_distanceFromBase\", \"_expSetupVehicle\", \"_index\", \"_intersectsWith\", \"_lookDirVector\", \"_max\", \"_min\", \"_modelDir\", \"_modelOffset\", \"_modelUp\", \"_placeAngle\", \"_realDistance\", \"_return\", \"_screenPos\", \"_testBase\", \"_testPos\", \"_testPositionIsValid\", \"_virtualPosASL\"];\n\n_lookDirVector = ((positionCameraToWorld [0,0,0]) call ace_common_fnc_positionToASL) vectorFromTo ((positionCameraToWorld [0,0,10]) call ace_common_fnc_positionToASL);\n_basePosASL = (eyePos _unit);\nif (cameraView == \"EXTERNAL\") then { \n_basePosASL = _basePosASL vectorAdd ((positionCameraToWorld [0.3,0,0]) vectorDiff (positionCameraToWorld [0,0,0]));\n};\nif ((stance _unit) == \"PRONE\") then {\n\n_basePosASL set [2, ((_basePosASL select 2) - 0.3)];\n_lookDirVector = ((positionCameraToWorld [0,0,0]) call ace_common_fnc_positionToASL) vectorFromTo ((positionCameraToWorld [0,3,10]) call ace_common_fnc_positionToASL);\n};\n_cameraAngle = (_lookDirVector select 0) atan2 (_lookDirVector select 1);\n\n_testPositionIsValid = {\n_testBase = _basePosASL vectorAdd (_lookDirVector vectorMultiply (_this select 0));\n_return = true;\n{\n_testPos = _testBase vectorAdd [0.1 * (_x select 0) * (cos _cameraAngle), 0.1 * (_x select 0) * (sin _cameraAngle), 0.1 * (_x select 1)];\n\nif (lineIntersects [eyePos _unit, _testPos, _unit]) exitWith {_return = false;};\n} forEach [[0,0], [-1,-1], [1,-1], [-1,1], [1,1]];\n_return\n};\n\n_distanceFromBase = 1;\n_badPosition = !([_distanceFromBase] call _testPositionIsValid);\n_attachVehicle = objNull;\n\nif (_isAttachable && _badPosition) then {\n_attachVehicle = objNull;\n_testBase = _basePosASL vectorAdd _lookDirVector;\n{\n_testPos = _testBase vectorAdd [0.1 * (_x select 0) * (cos _cameraAngle), 0.1 * (_x select 0) * (sin _cameraAngle), 0.1 * (_x select 1)];\n_intersectsWith = lineIntersectsWith [eyePos _unit, _testPos, _unit];\nif (count _intersectsWith == 1) exitWith {_attachVehicle = (_intersectsWith select 0);};\n} forEach [[0,0], [-1,-1], [1,-1], [-1,1], [1,1]];\nif ((!isNull _attachVehicle) && {[0.025] call _testPositionIsValid} &&\n{(_attachVehicle isKindOf \"Car\") || {_attachVehicle isKindOf \"Tank\"} || {_attachVehicle isKindOf \"Air\"} || {_attachVehicle isKindOf \"Ship\"}}) then {\n_min = 0.025;\n_max = 1;\nfor \"_index\" from 0 to 6 do {\n_distanceFromBase = (_min + _max) / 2;\nif ([_distanceFromBase] call _testPositionIsValid) then {\n_min = _distanceFromBase;\n} else {\n_max = _distanceFromBase;\n};\n};\n_badPosition = false;\n_distanceFromBase = ((_min + _max) / 2 + 0.075) min 1;\n} else {\n_attachVehicle = objNull;\n};\n};\n\n_virtualPosASL = _basePosASL vectorAdd (_lookDirVector vectorMultiply _distanceFromBase);\n\n\nif (_badPosition) then {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_BlockedAction\";\n} else {\nif (isNull _attachVehicle) then {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_PlaceAction\";\n} else {\n((uiNamespace getVariable [\"ACE_Helper_Display\", objNull]) displayCtrl 1000) ctrlSetText localize \"STR_ace_explosives_AttachAction\";\n};\n};\n\n\nif ((getTerrainHeightASL _virtualPosASL) > (_virtualPosASL select 2)) then {\n_virtualPosASL set [2, (getTerrainHeightASL _virtualPosASL)];\n};\n\n\nif (_badPosition && {ace_explosives_placeAction == 1}) then {ace_explosives_placeAction = -1;};\n\nif (_unit != ACE_player ||\n{!([_unit, objNull, [\"isNotSwimming\"]] call ace_common_fnc_canInteractWith)} ||\n{!(_magClassname in (magazines _unit))}\n) then {\nace_explosives_placeAction = 0;\n};\n\nif (ace_explosives_placeAction != -1) then {\n[_pfID] call CBA_fnc_removePerFrameHandler;\nace_explosives_pfeh_running = false;\n\n[_unit, \"forceWalk\", \"ACE_Explosives\", false] call ace_common_fnc_statusEffect_set;\n[] call ace_interaction_fnc_hideMouseHint;\n[_unit, \"DefaultAction\", (_unit getVariable [\"ace_explosives_placeActionEH\", -1])] call ace_common_fnc_removeActionEventHandler;\n[_unit, \"zoomtemp\", (_unit getVariable [\"ace_explosives_cancelActionEH\", -1])] call ace_common_fnc_removeActionEventHandler;\n\n(\"ace_explosives_virtualAmmo\" call BIS_fnc_rscLayer) cutText [\"\", \"PLAIN\"];\n\nif (ace_explosives_placeAction == 1) then {\n_placeAngle = 0;\n_expSetupVehicle = _setupObjectClass createVehicle (_virtualPosASL call ace_common_fnc_ASLToPosition);\n\n;\n\nif ((getMass _expSetupVehicle) > 5) then {_expSetupVehicle setMass 5;};\n\nif (isNull _attachVehicle) then {\n_placeAngle = _cameraAngle - ace_explosives_TweakedAngle + 180;\n_expSetupVehicle setPosAsl _virtualPosASL;\n_expSetupVehicle setDir _placeAngle;\n_placeAngle = _placeAngle + 180; \n} else {\n_modelOffset = _attachVehicle worldToModel (_virtualPosASL call ace_common_fnc_ASLToPosition);\n_placeAngle = _cameraAngle - (getDir _attachVehicle) + 180;\n_expSetupVehicle attachTo [_attachVehicle, _modelOffset];\n_expSetupVehicle setVectorDirAndUp [[0,0,-1],[(sin _placeAngle),(cos _placeAngle),0]];\n};\n\n;\n\n_expSetupVehicle setVariable [\"ace_explosives_class\", _magClassname, true];\n_expSetupVehicle setVariable [\"ace_explosives_Direction\", _placeAngle, true];\n\n_unit removeMagazine _magClassname;\n[_unit, \"PutDown\"] call ace_common_fnc_doGesture;\n_unit setVariable [\"ace_explosives_PlantingExplosive\", true];\n[{_this setVariable [\"ace_explosives_PlantingExplosive\", false]}, _unit, 1.5] call CBA_fnc_waitAndExecute;\n\n};\n} else {\n_screenPos = worldToScreen (_virtualPosASL call ace_common_fnc_ASLToPosition);\nif (_badPosition || {_screenPos isEqualTo []}) then {\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlShow false;\n} else {\n\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlShow true;\n\n_realDistance = ((_virtualPosASL call ace_common_fnc_ASLToPosition) distance (positionCameraToWorld [0,0,0])) / ((call CBA_fnc_getFov) select 1);\n_screenPos = [(_screenPos select 0), _realDistance, (_screenPos select 1)];\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlSetPosition _screenPos;\n\n_modelDir = [0,0,-1];\n_modelUp = [0,-1,0];\nif (isNull _attachVehicle) then {\n_angle = acos (_lookDirVector select 2);\n_modelUp = [0, (cos _angle), (sin _angle)];\n_modelDir = [cos ace_explosives_TweakedAngle, sin ace_explosives_TweakedAngle, 0] vectorCrossProduct _modelUp;\n};\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ctrlSetModelDirAndUp [_modelDir, _modelUp];\n};\n};\n\n;\n}" | |
}, | |
{ | |
"type": "float", | |
"value": "0" | |
}, | |
{ | |
"type": "float", | |
"value": "415.668" | |
}, | |
{ | |
"type": "float", | |
"value": "415.669" | |
}, | |
{ | |
"type": "array", | |
"value": [ | |
{ | |
"type": "object", | |
"value": "B Alpha 1-1:1 (dedmen)" | |
}, | |
{ | |
"type": "string", | |
"value": "\"APERSBoundingMine_Range_Mag\"" | |
}, | |
{ | |
"type": "string", | |
"value": "\"ACE_Explosives_Place_APERSBoundingMine\"" | |
}, | |
{ | |
"type": "bool", | |
"value": "false" | |
} | |
] | |
}, | |
{ | |
"type": "float", | |
"value": "17" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\n_x set [2, _delta + _delay];\n[_args, _handle] call _function;\nfalse\n", | |
"final": true, | |
"ip": 14, | |
"lastInstruction": { | |
"fileOffset": [ | |
11, | |
227 | |
], | |
"filename": "", | |
"name": "operator call", | |
"type": "class GameInstructionOperator" | |
}, | |
"type": "class CallStackItemData", | |
"variables": null | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\n;\n\nparams [\"_args\", \"_pfID\"];\n_args params [\"_unit\", \"_magClassname\", \"_setupObjectClass\", \"_isAtta", | |
"final": true, | |
"ip": 160, | |
"lastInstruction": { | |
"fileOffset": [ | |
133, | |
8648 | |
], | |
"filename": "z\\ace\\addons\\explosives\\functions\\fnc_setupExplosive.sqf", | |
"name": "operator then", | |
"type": "class GameInstructionOperator" | |
}, | |
"type": "class CallStackItemData", | |
"variables": { | |
"_angle": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_args": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "object", | |
"value": "B Alpha 1-1:1 (dedmen)" | |
}, | |
{ | |
"type": "string", | |
"value": "\"APERSBoundingMine_Range_Mag\"" | |
}, | |
{ | |
"type": "string", | |
"value": "\"ACE_Explosives_Place_APERSBoundingMine\"" | |
}, | |
{ | |
"type": "bool", | |
"value": "false" | |
} | |
] | |
}, | |
"_attachvehicle": { | |
"type": "object", | |
"value": "<NULL-object>" | |
}, | |
"_badposition": { | |
"type": "bool", | |
"value": "false" | |
}, | |
"_baseposasl": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "540.149" | |
}, | |
{ | |
"type": "float", | |
"value": "3244.07" | |
}, | |
{ | |
"type": "float", | |
"value": "6.25575" | |
} | |
] | |
}, | |
"_cameraangle": { | |
"type": "float", | |
"value": "27.3038" | |
}, | |
"_distancefrombase": { | |
"type": "float", | |
"value": "1" | |
}, | |
"_expsetupvehicle": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_index": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_intersectswith": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_isattachable": { | |
"type": "bool", | |
"value": "false" | |
}, | |
"_lookdirvector": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "0.423777" | |
}, | |
{ | |
"type": "float", | |
"value": "0.820917" | |
}, | |
{ | |
"type": "float", | |
"value": "-0.382764" | |
} | |
] | |
}, | |
"_magclassname": { | |
"type": "string", | |
"value": "\"APERSBoundingMine_Range_Mag\"" | |
}, | |
"_max": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_min": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_modeldir": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_modeloffset": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_modelup": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_pfid": { | |
"type": "float", | |
"value": "17" | |
}, | |
"_placeangle": { | |
"type": "void", | |
"value": "any" | |
}, | |
"_realdistance": { | |
"type": "float", | |
"value": "1.02337" | |
}, | |
"_return": { | |
"type": "bool", | |
"value": "true" | |
}, | |
"_screenpos": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "0.495328" | |
}, | |
{ | |
"type": "float", | |
"value": "1.02337" | |
}, | |
{ | |
"type": "float", | |
"value": "0.552519" | |
} | |
] | |
}, | |
"_setupobjectclass": { | |
"type": "string", | |
"value": "\"ACE_Explosives_Place_APERSBoundingMine\"" | |
}, | |
"_testbase": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "540.572" | |
}, | |
{ | |
"type": "float", | |
"value": "3244.89" | |
}, | |
{ | |
"type": "float", | |
"value": "5.87298" | |
} | |
] | |
}, | |
"_testpos": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "540.661" | |
}, | |
{ | |
"type": "float", | |
"value": "3244.94" | |
}, | |
{ | |
"type": "float", | |
"value": "5.97298" | |
} | |
] | |
}, | |
"_testpositionisvalid": { | |
"type": "code", | |
"value": "{\n_testBase = _basePosASL vectorAdd (_lookDirVector vectorMultiply (_this select 0));\n_return = true;\n{\n_testPos = _testBase vectorAdd [0.1 * (_x select 0) * (cos _cameraAngle), 0.1 * (_x select 0) * (sin _cameraAngle), 0.1 * (_x select 1)];\n\nif (lineIntersects [eyePos _unit, _testPos, _unit]) exitWith {_return = false;};\n} forEach [[0,0], [-1,-1], [1,-1], [-1,1], [1,1]];\n_return\n}" | |
}, | |
"_this": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "array", | |
"value": [ | |
{ | |
"type": "object", | |
"value": "B Alpha 1-1:1 (dedmen)" | |
}, | |
{ | |
"type": "string", | |
"value": "\"APERSBoundingMine_Range_Mag\"" | |
}, | |
{ | |
"type": "string", | |
"value": "\"ACE_Explosives_Place_APERSBoundingMine\"" | |
}, | |
{ | |
"type": "bool", | |
"value": "false" | |
} | |
] | |
}, | |
{ | |
"type": "float", | |
"value": "17" | |
} | |
] | |
}, | |
"_unit": { | |
"type": "object", | |
"value": "B Alpha 1-1:1 (dedmen)" | |
}, | |
"_virtualposasl": { | |
"type": "array", | |
"value": [ | |
{ | |
"type": "float", | |
"value": "540.572" | |
}, | |
{ | |
"type": "float", | |
"value": "3244.89" | |
}, | |
{ | |
"type": "float", | |
"value": "5.87298" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\n_screenPos = worldToScreen (_virtualPosASL call ace_common_fnc_ASLToPosition);\nif (_badPosition || ", | |
"final": true, | |
"ip": 15, | |
"lastInstruction": { | |
"fileOffset": [ | |
177, | |
10514 | |
], | |
"filename": "z\\ace\\addons\\explosives\\functions\\fnc_setupExplosive.sqf", | |
"name": "operator then", | |
"type": "class GameInstructionOperator" | |
}, | |
"type": "class CallStackItemData", | |
"variables": null | |
}, | |
{ | |
"compiled": true, | |
"contentSample": "\n\n((uiNamespace getVariable [\"ace_explosives_virtualAmmoDisplay\", displayNull]) displayCtrl 800851) ", | |
"final": true, | |
"ip": 47, | |
"lastInstruction": { | |
"fileOffset": [ | |
187, | |
11108 | |
], | |
"filename": "z\\ace\\addons\\explosives\\functions\\fnc_setupExplosive.sqf", | |
"name": "new command", | |
"type": "class GameInstructionNewExpression" | |
}, | |
"type": "class CallStackItemData", | |
"variables": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment