Перейти к основному содержимому

Mythicmob NPC Stop Animation

Stops a ModelEngine animation on a MythicMob NPC

Поля

ПолеТипПо умолчаниюОписание
targetMythicMobNpcFactTarget——
MythicMobNpcFactTarget (2)
ПолеТипПо умолчаниюОписание
npcRef<MythicMobNpcInstance>—MythicMob NPC instance to inspect.
MythicMobNpcInstance (6)
ПолеТипПо умолчаниюОписание
definitionRef<MythicMobNpcDefinition>——
spawnLocationVar<Position>ORIGIN—С поворотом
dataList<Ref<EntityData<*>>>empty—
activityRef<out EntityActivityEntry>——
groupRef<out GroupEntry>——
secondaryOffsetVector{"x":0.0,"y":0.0,"z":0.0}Offset (X, Y, Z) for the secondary focus point (automatically created with empty text)
radiusDouble?—Custom search radius in blocks when matching the active mob. 0 uses the default of 5 blocks.
animationString—The name of the animation to stop. If empty, all animations are stopped.
Общие поля TypeWriter (criteria, modifiers, triggers)
ПолеТипПо умолчаниюОписание
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Fill target.npc with the instance. With an empty animation, every animation on the model is stopped; otherwise only the named one.