Beispiel #1
0
 public void PlayAnim(int person, PawnEmote anim)
 {
     if (person >= 0 && person < positions.Length)
     {
         positions[person].PlayAnim(anim);
     }
 }
Beispiel #2
0
    public void PlayAnim(PawnEmote anim)
    {
        Pawn p = GetPawn();

        if (p)
        {
            p.PlayEmoteAnim(anim);
        }
    }
Beispiel #3
0
    private string ValueForAnim(string value, bool responseMode, string argument)
    {
        PawnEmote anim = (PawnEmote)Convert.ToInt32(value);

        Debug.Log("ANIM ==== " + value + "  " + responseMode + "  " + argument + "  " + anim);
        if (scene != null && responseMode == false)
        {
            scene.PlayAnim(currentNode.speaker, anim);
        }
        return("");
    }