Position & rotation for each proxy (if applicable) for each pylon. Append in current array.
[1,"PylonLeft1",[0],"PylonRack_4Rnd_LG_scalpel",4,"0:10000646",[positionarr,rotationarr]]
would be optimal IMO
Position & rotation for each proxy (if applicable) for each pylon. Append in current array.
[1,"PylonLeft1",[0],"PylonRack_4Rnd_LG_scalpel",4,"0:10000646",[positionarr,rotationarr]]
would be optimal IMO
Approximate code for validation. Will/should set pylon to be dual 20mm cannons and spawn arrow on its location given ideal implementation
private _vehicle = vehicle player; private _helper = "Sign_Arrow_Blue_F" createVehicle [0,0,0]; private _allPylonsInfo = getAllPylonsInfo _vehicle; private _pylonProxyInfo = (_allPylonsInfo#0)#-1; _pylonProxyInfo params ["_relPos","_relDirAndUp"]; _vehicle setPylonLoadout [1, "PylonWeapon_300Rnd_20mm_shells", true]; _helper attachTo [_vehicle, _relPos]; _helper setVectorDirAndUp _relDirAndUp;