Skip to content

Syntax Overview

Fusezion edited this page Jun 16, 2024 · 3 revisions

Since this addon is not currently on SkriptHub I've created a quick wiki page listing all syntax, examples will not be provided as I'm lazy

Expressions

ExprAnimation (v1.0.0)

Get an animation from an id that it was saved to

animation [named|with (id|name)] %string%

ExprAllAnimations (v1.0.0)

Retrieve all the animations or animation keys

all [[of] the] animations
all [[of] the] animation keys

ExprArmorStandRotation (v1.0.0)

Allows you to get/change an armor stand's limb positions

%armorstandposes% (rotation|pose) of %livingentities%
%livingentities%'[s] %armorstandposes% (rotation|pose)

changers: add, set, remove and reset

Effects

EffApplyAnimation (v1.0.0)

Applies a previously created animation onto an existing armor stand entity

animate %livingentities% (using|with) [animation] %animation%

EffAnimateEntity (v1.0.0)

Animation an armor stand pose to match a rotation with duration of time to animate, optionally from zero

[:async] animate %armorstandpose% [pose|rotation] of %livingentities% (using|with|to match) %rotation% with duration %timespan% [:from zero]
Structures

StructAnimation (v1.0.0)

Create an animation base that can be applied to entities at a later date

(register|create) [a] [new] animation [[named|with (id|name)] %-string%]:
	variable: # optional, follows normal variable format
	animation:
		# animation code
Functions

Additions -> Functions -> Rotation (v1.0.0)

Creates a new rotation based on an x, y, z value

rotation(x:number, y:number, z:number)