generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is it possible to make?

Previous Thread :: Next Thread 
Psyhio is not online. 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
Pyrographic is not online. Pyrographic
Joined: 22 Feb 2014
Total Posts: 317
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 is not online. 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 is not online. 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
MrZombieMarine is not online. MrZombieMarine
Joined: 16 Apr 2012
Total Posts: 167
25 Nov 2016 09:20 AM
The first two are possible.
Report Abuse
Rerumu is not online. Rerumu
Joined: 11 Oct 2014
Total Posts: 950
25 Nov 2016 09:56 AM
All are possible.
Report Abuse
Ryuzoji is not online. Ryuzoji
Joined: 21 Dec 2015
Total Posts: 937
25 Nov 2016 10:02 AM
Anything is possible!










Except PutAsync and RemoveAsync ;(
Report Abuse
DahtEmoKid is not online. DahtEmoKid
Joined: 12 Mar 2016
Total Posts: 17
25 Nov 2016 10:07 AM
Anything is possible but you just need to know what you are doing!


Report Abuse
Psyhio is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image