Page MenuHomeFeedback Tracker

[Feature Request] New scripting commands to return the unit's current gesture
Feedback, NormalPublic

Description

Follow up to: https://feedback.bistudio.com/T152786

Let's say I want my unit to play a gesture if he's not currently playing any (e.g. reload gestures or hand gestures).

Unfortunately, there's currently no way to do this properly.

If all gestures were played through one mod, it is possible to determine the gestures play time, and play the next gesture when "time > gestureTime + initTime". However, if the unit decides to reload, or some other mod interferes, this whole system breaks.

Having getter commands for gestures is extremely useful:

actionTime unit || gestureTime unit
return value: Number - play time of the current gesture (similar to moveTime)

gesture unit
return value: String - current gesture/action that is being played by the unit

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Feature Request

Event Timeline

Toksa added a subscriber: Toksa.Aug 5 2020, 9:31 AM
Toksa added a comment.Aug 5 2020, 9:35 AM

This would be very useful for scripting mods that use gestures as animations. Because gesture overrides lot of actions in game like reloading and grenade throwing, so there should be better system for detecting them.

DrSova added a subscriber: DrSova.Sep 4 2020, 3:21 PM
goobin added a subscriber: goobin.Apr 15 2021, 5:09 AM

This would be an extremely useful feature. It appears that a similar feature is included already in VBS 3 (see: https://sqf.bisimulations.com/display/SQF/gestureState) however it is missing from ArmA 3.

This comment was removed by LouMontana.
dedmen changed the task status from New to Feedback.Jul 13 2021, 1:50 PM
dedmen added a subscriber: dedmen.

Added gestureState command.
next week devbranch.
Won#t do gestureTime