36 lines
1.1 KiB
Lua
36 lines
1.1 KiB
Lua
---@class BTC_BlackboardBool_C:BTCondition_LuaBase
|
|
---@field BlackboardBool FBlackboardKeySelector
|
|
--Edit Below--
|
|
local BTC_BlackboardBool = {}
|
|
|
|
-- -- called when testing if underlying node can be executed
|
|
function BTC_BlackboardBool:PerformConditionCheckAI(OwnerController, ControlledPawn)
|
|
return BTFunctionLibrary.GetBlackboardValueAsBool(self, self.BlackboardBool)
|
|
end
|
|
|
|
-- -- tick function
|
|
-- function BTC_BlackboardBool:ReceiveTickAI(OwnerController, ControlledPawn, DeltaSeconds)
|
|
|
|
-- end
|
|
|
|
-- -- called on execution of underlying node
|
|
-- function BTC_BlackboardBool:ReceiveExecutionStartAI(OwnerController, ControlledPawn)
|
|
|
|
-- end
|
|
|
|
-- -- called when execution of underlying node is finished
|
|
-- function BTC_BlackboardBool:ReceiveExecutionFinishAI(OwnerController, ControlledPawn, NodeResult)
|
|
|
|
-- end
|
|
|
|
-- -- called when observer is activated (flow controller)
|
|
-- function BTC_BlackboardBool:ReceiveObserverActivatedAI(OwnerController, ControlledPawn)
|
|
|
|
-- end
|
|
|
|
-- -- called when observer is deactivated (flow controller)
|
|
-- function BTC_BlackboardBool:ReceiveObserverDeactivatedAI(OwnerController, ControlledPawn)
|
|
|
|
-- end
|
|
|
|
return BTC_BlackboardBool |