0

Using the new "Dialog" feature I want to create a store, how would I do that, like they click on an option and the game gives them the weapon they want.

Yeah so this feature is fairly new, but this is also my first store.

4

1 回答 1

2

树应该是这样的

  • 对话
    • 对话选择
      • UserResponse:文本向用户显示的内容
        • ResponseDialog:当用户点击选择时对话框的文本变成了什么

要检测用户何时单击它...

Dialog.DialogChoiceSelected:connect(function(player, dialogChoice)
    -- Do stuff
end)

'player' 是一个实际的 Player,'dialogChoice' 是他们点击的 DialogChoice。

于 2010-12-23T17:36:09.440 回答