PGRData/Script/matrix/xhome/xdorm/xhomechar/xhomecharnode/XHomeCharRandomDialogNode.lua

7 lines
304 B
Lua

local XHomeCharRandomDialogNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharRandomDialog", CsBehaviorNodeType.Action, true, false)
function XHomeCharRandomDialogNode:OnEnter()
self.AgentProxy:ShowRandomBubble(function()
self.Node.Status = CsNodeStatus.SUCCESS
end)
end