Example #1
0
    public override void ExtractInterests(ChallengeStage stage)
    {
        base.ExtractInterests(stage);
        if (stage != null)
        {
            agentComponent = stage.GetAgent(agentID);

            /*halmeida - A positioning event can only place the agent at a position within the currently
             * loaded structure (current room), because if the position change went through any doors, the
             * crossing of the door would not be registered and the loading of the scenery would break.*/
            waypointComponent = stage.GetWaypointFromCurrentStruct(waypointID);
        }
    }