Page MenuHomeFeedback Tracker

Alt syntax for canDeployWeapon/isWeaponDeployed to return weapon deployment position
New, NormalPublic

Description

canDeployWeapon [unit, onGround, returnPosition]
isWeaponDeployed [unit, onGround, returnPosition]

Parameters:
returnPosition: Boolean - (Optional) Default false. true to return weapon deployment position on the surface of the object or ground.

Return Value:
I'm not sure what info is already easily available, but in order of preference:

  1. Array of intersection data like in lineIntersectsSurfaces,
[intersectPosASL, surfaceNormal, intersectObj, parentObject, selectionNames, pathToBisurf]
  1. Array - format PositionASL

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

This comment was removed by BIS_fnc_KK.