Skip to content

Jump

Jump

Makes an actor or entity jump with a specified velocity and duration.

Properties

System

Name Explanation Type
Duration The duration of the jumping force in milliseconds. Variable or Value
Fine Control Switch The switch that controls whether the jump can be exited early for fine height control. Switch or Value
Is Animated Whether to apply a visual translation animation to the target during the jump. Toggle
Is Fine Control Allowed Whether fine control is allowed, enabling early exit from the jump via a switch. Toggle
Is Parabolic Animation Whether the jump animation follows a parabolic arc. Toggle
Target The actor or entity that will jump. Actor Reference
Translation X The visual translation offset along the X axis during the jump animation. Variable or Value
Translation Y The visual translation offset along the Y axis during the jump animation. Variable or Value
Translation Z The visual translation offset along the Z axis during the jump animation. Variable or Value
Velocity X The velocity of the jump along the X axis. Variable or Value
Velocity Y The velocity of the jump along the Y axis. Variable or Value
Velocity Z The velocity of the jump along the Z axis. Variable or Value

Examples

Make the Calling Entity Jump Upward Over 500 Milliseconds

This makes the calling entity jump with a vertical velocity of 1 over 500 milliseconds.

jump(self, 0, 1, 0, 500);
{"Data":{"AnimationTranslationX":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"AnimationTranslationY":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"AnimationTranslationZ":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Duration":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"500","VariableIndex":0,"Metadata":null},"FineControlSwitch":{"IsGlobalSwitch":false,"IsLocalSwitch":false,"IsValue":true,"SwitchIndex":0,"Value":false},"IsAnimated":false,"IsFineControlAllowed":false,"IsParabolicAnimation":false,"JumpVelocityX":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"JumpVelocityY":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"JumpVelocityZ":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Target":{"ReferenceType":0,"Index":0,"IsSelf":true,"IsEntity":false,"IsPartyMember":false,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityJumpCommand"}

Jump with Parabolic Animation Translation

This makes the calling entity jump with animation offsets and parabolic interpolation over 500 milliseconds.

jump(self, 0, 1, 0, 500, anim_x: 5, anim_y: 10, anim_z: 0, parabolic);
{"Data":{"AnimationTranslationX":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"5","VariableIndex":0,"Metadata":null},"AnimationTranslationY":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"10","VariableIndex":0,"Metadata":null},"AnimationTranslationZ":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Duration":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"500","VariableIndex":0,"Metadata":null},"FineControlSwitch":{"IsGlobalSwitch":false,"IsLocalSwitch":false,"IsValue":true,"SwitchIndex":0,"Value":false},"IsAnimated":true,"IsFineControlAllowed":false,"IsParabolicAnimation":true,"JumpVelocityX":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"JumpVelocityY":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"JumpVelocityZ":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Target":{"ReferenceType":0,"Index":0,"IsSelf":true,"IsEntity":false,"IsPartyMember":false,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityJumpCommand"}