Saltar al contenido principal

Mythicmob NPC Stop Animation

Stops a ModelEngine animation on a MythicMob NPC

Campos

CampoTipoPredeterminadoDescripción
targetMythicMobNpcFactTarget——
MythicMobNpcFactTarget (2)
CampoTipoPredeterminadoDescripción
npcRef<MythicMobNpcInstance>—MythicMob NPC instance to inspect.
MythicMobNpcInstance (6)
CampoTipoPredeterminadoDescripción
definitionRef<MythicMobNpcDefinition>——
spawnLocationVar<Position>ORIGIN—Con rotación
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.
Campos comunes de TypeWriter (criteria, modifiers, triggers)
CampoTipoPredeterminadoDescripción
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.