Hi,
I am a beginner on both Lua script and TPS, and feel a little confused when going through the official documentation and the example files in TPS folder.
There are two different methods for registering TacticalPointQuery, what is the difference between them?
1) Call AI.RegisterTacticalPointQuery inside OnInit() function:
Code:
AI.TacticalPositionManager.Grunt = AI.TacticalPositionManager.Grunt or {};
function AI.TacticalPositionManager.Grunt:OnInit()
...
end
2) Directly create a "AI.RegisterTacticalPointQuery" function call in lua file:
Code:
Game\Scripts\AI\TPS/CivilianQueries.lua
Thank you for any help!
/ed