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: Simply complicated problem.

Previous Thread :: Next Thread 
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
30 Apr 2012 08:16 PM
I don't know. I have a script inside of a model inside of the camera (LocalObjects) and it doesn't work. It works in solo, as all localscripts do T_T, but not in online mode. I've tried converting it to a localscript, but it won't work at all. It looks for a value, and then copies the appropriate dialog (Still a LocalObject) into the part (Local). It doesn't error or copy the dialog.

while wait() do
wait()

if script.Parent.Visit.Value == 0 and not script.Parent:FindFirstChild("Dialog0") then
script.Parent.Dialogs.Dialog0:clone().Parent = script.Parent

elseif script.Parent.Visit.Value == 1 and not script.Parent:FindFirstChild("Dialog1") then
script.Parent.Dialog0:remove()
script.Parent.Dialogs.Dialog1:clone().Parent = script.Parent

elseif script.Parent.Visit.Value == 2 and not script.Parent:FindFirstChild("Dialog2") then
script.Parent.Dialog1:remove()
script.Parent.Dialogs.Dialog2:clone().Parent = script.Parent

elseif script.Parent.Visit.Value == 3 and not script.Parent:FindFirstChild("Dialog3") then
script.Parent.Dialog2:remove()
script.Parent.Dialogs.Dialog3:clone().Parent = script.Parent

end
end
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
30 Apr 2012 08:18 PM
Scripts shouldn't run online in a local camera - not matter what type they are. Control it from the Backpack instead.
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
30 Apr 2012 08:21 PM
Since I don't feel like doing this for so many quests, do you have any simpler ideas to make quests like this?
Report Abuse
av83r is not online. av83r
Joined: 28 Jul 2009
Total Posts: 2580
30 Apr 2012 08:25 PM
the camera in build/edit does not exist in the same way as online mode. Have it launch from a starter gui and place it in the players camera, that should solve the problem
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
30 Apr 2012 08:28 PM
@Avr

I don't understand what you're saying.
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