ProtoFlux:Set User Scale

From Resonite Wiki
Revision as of 00:46, 15 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the Set User Scale node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Set User Scale
*
OnScaleChangeStart
UserRoot
OnAnimationFinished
Scale
AnimationTime
Users

The Set User Scale node changes the user scale with the provided inputs. While the user is scaling and the user is in the middle of a scale animation, the user cannot be scaled again until the animation has finished.

Inputs

* (AsyncCall)

Calls from an impulse to start changing the user's scale.

UserRoot (UserRoot)

The user root to scale.

Scale (float)

The target scale to aim for.

AnimationTime (float)

How long this scaling should take.

Outputs

OnScaleChangeStart (AsyncCall)

Fires when the scaling has started.

OnAnimationFinished (Continuation)

Fires when the scaling animation has finished scaling the user.