chillbaka1
Chieftain
- Joined
- Nov 13, 2016
- Messages
- 46
I am currently trying to make a new panel to test out some ideas, but I do not know where to find the list of variables and functions available.
For example, this is the code for the "Set AI Focus: Food" button in the "City" panel.
local pCity = GetSelectedCity();
if (pCity ~= nil) then
-- Network.SendSetCityAIFocus(pCity :GetID(), CityAIFocusTypes.CITY_AI_FOCUS_TYPE_FOOD);
end
I am trying to create a panel that displays data from the operations and behavior trees for each civ, so I can look at some more concrete data when testing new behavior trees. Anyone have any ideas?
For example, this is the code for the "Set AI Focus: Food" button in the "City" panel.
local pCity = GetSelectedCity();
if (pCity ~= nil) then
-- Network.SendSetCityAIFocus(pCity :GetID(), CityAIFocusTypes.CITY_AI_FOCUS_TYPE_FOOD);
end
I am trying to create a panel that displays data from the operations and behavior trees for each civ, so I can look at some more concrete data when testing new behavior trees. Anyone have any ideas?