Psyhio
|
  |
| Joined: 03 Nov 2016 |
| Total Posts: 4 |
|
|
| 24 Nov 2016 01:33 PM |
Hello everyone!I was wondering if the following things is possible:
-Making a player teleport to other place if he choses a specific DialogChoice? -Making dialog like a Gui?(Like in the game Silence)
Or -Making a keyboard operated Dialog.(Like choosing the choices with keyboard)
Thank you very much who replied. |
|
|
| Report Abuse |
|
|
|
| 24 Nov 2016 01:59 PM |
The first two are definitely possible. Not sure exactly what you mean by the last one.
workspace.Dialog.DialogChoiceSelected:connect(function(player,choice) print(player.Name,choice.Name) end) |
|
|
| Report Abuse |
|
|
Psyhio
|
  |
| Joined: 03 Nov 2016 |
| Total Posts: 4 |
|
|
| 25 Nov 2016 05:10 AM |
By the last I meant: When you are in 1st person view, you cannot choose anything in Dialog. It just turns the camera.
Is it possible to make the choice with keyboard keys:like choice1 is button "i" choice2 is button: "o" etc. |
|
|
| Report Abuse |
|
|
Ryuzoji
|
  |
| Joined: 21 Dec 2015 |
| Total Posts: 937 |
|
|
| 25 Nov 2016 05:41 AM |
| A little bit of UserInputService and an InputBegan event and it's possible. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2016 09:20 AM |
| The first two are possible. |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
| |
|
Ryuzoji
|
  |
| Joined: 21 Dec 2015 |
| Total Posts: 937 |
|
|
| 25 Nov 2016 10:02 AM |
Anything is possible!
Except PutAsync and RemoveAsync ;( |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2016 10:07 AM |
Anything is possible but you just need to know what you are doing!
|
|
|
| Report Abuse |
|
|
Psyhio
|
  |
| Joined: 03 Nov 2016 |
| Total Posts: 4 |
|
|
| 25 Nov 2016 01:59 PM |
I tried making a door open at first with this but it didnt work.
local dialog = script.Parent dialog.DialogChoiceSelected:connect(function(player, choice) if choice == script.Parent.DialogChoice.ChoiceA then door.Transparency = 1 door.CanCollide = false end elseif choice == script.Parent.DialogChoice.ChoiceB then door.Transparency = 0 door. CanCollide = true end end)
I don't really know.Like, I have idea and I'm new to this thing so I dont't know a lot of things but I checked in YouTube and Roblox wiki, but I didn't found anything. |
|
|
| Report Abuse |
|
|
Ryuzoji
|
  |
| Joined: 21 Dec 2015 |
| Total Posts: 937 |
|
|
| 25 Nov 2016 06:37 PM |
Your elseif is not connected to an if statement. Also, you put "door. CanCollide" with a space.
if choice == script.Parent.DialogChoice.ChoiceA then door.Transparency = 1 door.CanCollide = false elseif choice == script.Parent.DialogChoice.ChoiceB then door.Transparency = 0 door.CanCollide = true end
|
|
|
| Report Abuse |
|
|
Psyhio
|
  |
| Joined: 03 Nov 2016 |
| Total Posts: 4 |
|
|
| 26 Nov 2016 04:32 AM |
Thank you very much who replied I looked up some things and it worked. So good that there are people who can help. |
|
|
| Report Abuse |
|
|