Exemple #1
0
    public void setTarget(Enemy e, AlertingMethod M)
    {
        alerted = true;
        target  = e;
        if (debug)
        {
            print("Shot by " + e.name + ", retaliating.");
        }

        if (AlertMethod == AlertingMethod.Shot ||
            AlertMethod == AlertingMethod.Hear && USEPF)
        {
            PFNC.currentNode = PFNC.GNNCReturn();
        }
    }
Exemple #2
0
    public void setTarget(Enemy e, AlertingMethod M)
    {
        alerted = true;
        target = e;
        if (debug) print ("Shot by "+e.name+", retaliating.");

        if (AlertMethod == AlertingMethod.Shot ||
            AlertMethod == AlertingMethod.Hear && USEPF) {
            PFNC.currentNode = PFNC.GNNCReturn();
        }
    }