Example #1
0
    void Start()
    {
        string url = "http://itbullshit.fps.hu/api.php?f=showTheBullshit";
        WWW    www = new WWW(url);

        scriptFlesh            = (NPCTag)GameObject.Find("Flesh").GetComponent("NPCTag");
        scriptPolygonCharacter = (NPCTag)GameObject.Find("BombDisposal").GetComponent("NPCTag");

        StartCoroutine(WaitForRequest(www));
    }
Example #2
0
 public override string ToDebugString()
 {
     return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(NPCChangeTeamAction)} -> (NPCTag: {NPCTag.ColorizeObject()})");
 }
Example #3
0
 public void setTarget(NPCTag target, bool flee)
 {
     _target = target;
     _flee   = flee;
 }
Example #4
0
 public override string ToDebugString()
 {
     return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(NPCFollowAction)} -> (NPCTag: {NPCTag.ColorizeObject()}, TargetTag: {TargetTag.ColorizeObject()}, Follow: {Follow.ColorizeObject()})");
 }
 public override string ToDebugString()
 {
     return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(CombatAction)} -> (Cooldown: {CoolDown.ColorizeObject()}, CombatMode: {CombatMode.ColorizeObject()}, NPCTag: {NPCTag.ColorizeObject()}, EnemyTag: {EnemyTag.ColorizeObject()})");
 }