Game Development Reference
In-Depth Information
Agents fleeing from one another
Instantiating the flee action requires creating a new action and specifying the initialize,
update, and cleanup functions.
SoldierLogic.lua :
local function FleeAction(userData)
return Action.new(
"flee",
SoldierActions_FleeInitialize,
SoldierActions_FleeUpdate,
SoldierActions_FleeCleanUp,
Search WWH ::




Custom Search