Page MenuHomeFeedback Tracker

[Feature] Expand getAllPylonsInfo to include proxy information
New, NormalPublic

Description

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

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Additional Information

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;

Event Timeline

WillKMJ created this task.Mon, Apr 7, 11:36 PM