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 » Scripting Helpers
Home Search
 

Re: Dialog giver?

Previous Thread :: Next Thread 
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
19 Feb 2012 09:51 PM
You see I'm trying to make a store, but in order to do so I want to make a dialog thing and they ask what you want, and when you chose it pops up in your inventory. I'm curious as to of how you would do that, like what specific line of lua would you use? Any help would be appreciated, I don't do scripting that much and when I do I normally do I don't know what I'm supposed to type, so I come here.
-=Robo=-
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
19 Feb 2012 09:58 PM
This always happens to me when I post lol
I'M NOT REQUESTING. O_O
-=Robo=-
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
19 Feb 2012 10:15 PM
Rlly... just rlly. o_o
BLdflvkrflkjdsxnfdscsdflsfdffdkvfdvmdfsadfkadfkdfmkvdklf!!!!
-=Robo=-
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
19 Feb 2012 10:18 PM
DialogChoiceSelected is the event
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
19 Feb 2012 10:25 PM
So when it's selected if I have that script in will it check which dialog choice it is, or what? Would I put Instance.New? Look I'm new I apologize can you give me a simple example?
-=Robo=-
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
19 Feb 2012 11:02 PM
Yes. For example

function printHelloWorldIfDialogChoiceIsSelected()
print("Hello World!")
end

game.Workspace.Figure.Head.Dialog.Dialog1.DialogChoiceSelected:connect(printHelloWorldIfDialogChoiceIsSelected)
Report Abuse
blueymaddog is not online. blueymaddog
Joined: 23 Sep 2009
Total Posts: 5459
20 Feb 2012 04:21 AM
go into my models, I should have a dialog giving demo!
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
20 Feb 2012 11:40 AM
Thanks alot you guys, this is really one of the first posts that I actually got help on. No more replies kk?
-=Robo=-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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