Game Development Reference
In-Depth Information
The die action
Updating the die action requires us to set the blackboard's alive attribute instead of using
userData directly:
SoldierActions.lua :
function SoldierActions_DieUpdate(deltaTimeInMillis,
userData)
userData.blackboard:Set("alive", false);
return Action.Status.TERMINATED;
end
Search WWH ::




Custom Search