Page MenuHomeFeedback Tracker

Doors animated via "animateDoor" continue to animate past the desired doorPhase
Reviewed, WishlistPublic

Description

When you use the animateDoor command on, for example, an Ifrit to animate one of the doors, setting the doorPhase parameter to 0.6 will not stop the door at 0.6 but will continue to animate up to doorPhase 1.

If the desired doorPhase float can be rounded to the current integer state of the doorPhase, no animation will happen unless forced with the "now" parameter, at which point the door will animate back to the closest integer state.

Details

Legacy ID
2289885241
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Open editor > Stratis
  2. Place the player as OPFOR > CSAT > Men > Rifleman
  3. Place an Empty > Cars > Ifrit [CSAT], give it the name "car1"
  4. Preview
  5. Pause the game and enter the following in the debug console: "car1 animateDoor ["Door_Rear", 0.6];"
  6. Observe that the door will animate, go past the 0.6 point and finish at doorPhase 1
Additional Information

Expected behavior is that the doors will animate and stop at the number that was entered as doorPhase

Build 0.75.108236

Event Timeline

Sniperwolf572 edited Additional Information. (Show Details)
Sniperwolf572 set Category to Scripting.
Sniperwolf572 set Reproducibility to Always.
Sniperwolf572 set Severity to None.
Sniperwolf572 set Resolution to Open.
Sniperwolf572 set Legacy ID to 2289885241.May 7 2016, 3:43 PM