Page MenuHomeFeedback Tracker

[Feature Request] New Scripting Command: forceAnimate/forceAnimateSource
New, NormalPublic

Description

Description: Forces an animation(Source) to animate, as if animationSource == "user". Includes 'interrupt' optional parameter (default true), where, if false, animation cannot be interrupted until complete, except by another 'forceAnimate(source)' command, else any input from appropriate animation sources will interrupt the animation.

Syntax 1: shilka forceAnimate ["mainGun", -(_rotation), 1];
Syntax 2: shtora forceAnimateSource ["mainGun", -(_direction), 1, false];
Returns: Boolean- True if can (and is) performing the animation, false otherwise.

Reasoning: Enables usage of script-based articulation without need for pre-set animationSources to be user-only, enabling things like Shilka/Tigris automatic target tracking via script, while still allowing the gunner to control aim via mouse, as well as implementation via script of a Shtora-like system to turn a turret towards a missile threat.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Scripting

Event Timeline

LLukeL created this task.Jun 7 2020, 11:26 PM
Dscha added a subscriber: Dscha.Jul 15 2020, 11:23 AM

It is necessary to add this feature, which can make the physical simulation more vivid