Closed GuillermoBlasco closed 10 years ago
To exploit zones and new rearranged paths npcs should be able to query the zone they are so further they can find the possible paths.
Estimated hours: 1
Script: AgentNpc.cs
Method: getZone(int x,int y)
This method query the zone where Npc is, passing X grid position and Y grid position of the Npc as parameters
Testing:
Use a debug.log somewhere (FSMFixedUpdate) Asking for the zone of the npcs executing this method
this task is done ->commit 5b1fa7aab0506fb1dfd6930a1aba088699c2a464
Ok, that has been easy :) well done
To exploit zones and new rearranged paths npcs should be able to query the zone they are so further they can find the possible paths.
Estimated hours: 1
Script: AgentNpc.cs
Method: getZone(int x,int y)
This method query the zone where Npc is, passing X grid position and Y grid position of the Npc as parameters
Testing:
Use a debug.log somewhere (FSMFixedUpdate) Asking for the zone of the npcs executing this method