Page MenuHomeFeedback Tracker

Scripting Command Request: "getPylonTurret"
Feedback, NormalPublic

Description

Currently, the pylons scripting commands family is lacking a command to get the turret path that owns/controls the given pylon. A new command to solve this problem may work as follows:

Name: getPylonTurret
Description: Returns the vehicle turret path that owns/controls the given pylon. [] for driver turret, [0] for gunner turret.
Syntax: vehicle getPylonTurret pylon

  • vehicle: <OBJECT>
  • pylon: pylon index (starting from 1) <NUMBER> or pylon class name from TransportPylonsComponent >> pylons <STRING>

Return Value: Turret path that owns/controls the given pylon. <ARRAY>

  • [] for driver turret.
  • [0] for gunner turret.

This is somewhat related to T124949, however, this requests different functionality as a command to get the pylon magazines of a vehicle already exists.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

BIS_fnc_KK changed the task status from New to Assigned.
LouMontana changed the task status from Assigned to Feedback.Sun, Nov 22, 3:26 PM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Tue, Nov 24, 6:13 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.