Skip to content

Jump

Make an Entity jump up with a configurable velocity.

Syntax

(1)

|jump,entity|

(2)

|jump,entity,velocity|

Parameters

entity: int | this, caller, string

The Entity id or designator to jump up. The int form represents an Entity id and it must be a valid int or an exception will be thrown. For other values, they only apply if the caller isn't null otherwise, they will cause an exception to be thrown:

  • this: Refers to the tailtarget.
  • caller: Refers to the caller.
  • Anything else: Refers to a define if it exists, otherwise, this is interpreted as a regular Entity id which will cause an exception to be thrown.

velocity: float

The vertical velocity of the jump. This must be a valid float or an exception will be thrown. The default value is 10.0.

Remarks

This uses the entity's Jump method which amongst its function will remove the constraint of an entity to perform the jump if it isn't an item or there is no battle in progress. Additionally, offgroundframes will be set to 20.0 and jumpcooldown to 30.0.