Zum Hauptinhalt springen

Mythicmob NPC Stop Animation

Stops a ModelEngine animation on a MythicMob NPC

Felder

FeldTypStandardBeschreibung
targetMythicMobNpcFactTarget——
MythicMobNpcFactTarget (2)
FeldTypStandardBeschreibung
npcRef<MythicMobNpcInstance>—MythicMob NPC instance to inspect.
MythicMobNpcInstance (6)
FeldTypStandardBeschreibung
definitionRef<MythicMobNpcDefinition>——
spawnLocationVar<Position>ORIGIN—Mit Rotation
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.
Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
FeldTypStandardBeschreibung
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.