Page MenuHomeFeedback Tracker

[Feature Request] New scripting command for getting the selectionName of animations
New, NormalPublic

Description

Unfortunately, there's no way to determine which selection gets animated when using the "animate" command. (unless you have access to the model config, which is not accessible in-game)

This command can be useful when combined with the "intersect" and "animate" commands to open building doors.

Details

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

Event Timeline

Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Apr 1 2020, 11:49 AM
dedmen claimed this task.May 28 2020, 8:55 PM
7erra added a subscriber: 7erra.May 30 2020, 1:38 PM
Leopard20 added a comment.EditedAug 3 2020, 2:22 PM

@dedmen
Would it be possible that the command returned both animation sources and their selection names (if applicable)? Since according to the wiki, the animateSource command is more optimized than animate.

Maybe something like this:

animationSources object
return value: Array in format: [ [animationSource1, selectionName1], ......]

If not, animate variant is fine.

animationSelections object
return value: Array in format: [ [animation1, selectionName1], ......]