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
 

Dialog Help

Previous Thread :: Next Thread 
Shikigami is not online. Shikigami
Joined: 24 Jan 2012
Total Posts: 17
30 Jul 2012 07:00 PM
Okay, so here's the scenario.

The script I posted here is in a Dialog with three dialog choices. Two choices are wrong, one choice is correct. There's a certain value in the player I need to change if the choice is correct.

Thank you.


function check(Player, Choice)
Player = script.Parent.Parent.Parent.Parent.Parent
Player:WaitForDataReady
if Choice.Name == "Win" then
Player.Rank.Value = "Genin"
Player:SaveString("Rank", Player.Rank.Value)
end
end

script.Parent.DialogChoiceSelected:connect(check)
Report Abuse
Shikigami is not online. Shikigami
Joined: 24 Jan 2012
Total Posts: 17
30 Jul 2012 07:26 PM
Bump
Report Abuse
Shikigami is not online. Shikigami
Joined: 24 Jan 2012
Total Posts: 17
31 Jul 2012 12:09 PM
Bump.
Report Abuse
ALGO160 is not online. ALGO160
Joined: 26 Mar 2012
Total Posts: 397
31 Jul 2012 12:33 PM
I think you aren't using DP correctly. And what help do you need?
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