Skip to content

← Previous | Next →


playingAnimation

Description

Checks if the NPC is currently playing a specified animation.

Basic information

Name Type Possibilities
playingAnimation condition 2

Parameters

# Name Type Mandatory Description Multiple
1 entity Entity Yes The entity whose animation state is being checked. No
2 animDict string Yes The animation dictionary of the animation to check. https://forge.plebmasters.de/animations/ No
3 animName string Yes The name of the animation to check. https://forge.plebmasters.de/animations/ No

Outputs

# Description
1 The NPC is currently playing the specified animation.
2 The NPC is not playing the specified animation.

Example


  NPC 

  name Performer 
  model a_m_y_musclbeac_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    playingAnimation amb@world_human_partying@female@partying_beer@base base 
      tell "I'm in the middle of a performance." 
      tell "I'm not performing right now." 

  behaviour 
    nothing