Scripted control - Goodbird-git/CNPC-EpicFight-Addon GitHub Wiki

New functions

Some new functions were added in order to provide the scripted control over the EpicFight animations

IEnitityLiving

//Allows you to trigger an EpicFight animation on an entity
public void playEFAnimation(String animPath)

Example

This script triggers the tsunami animation each time player right clicks

function interact(e){
    e.player.playEFAnimation("epicfight:biped/skill/tsunami");
}