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: Do localscripts run in the CurrentCamera?

Previous Thread :: Next Thread 
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
23 Aug 2011 05:54 PM
I'm guessing the answer is probably "yes", but I just want to know before I go ahead and start programming.
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
23 Aug 2011 05:54 PM
Yep.
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 05:55 PM
LocalScripts Do NOT run Server Side. Anything in Workspace is Server side, and anything in Players is Client Side. LocalScripts only Run in the Player Instance.
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
23 Aug 2011 05:56 PM
^ The CurrentCamera is local, you derp.
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
23 Aug 2011 05:56 PM
Local Scripts run in the CurrentCamera.
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
23 Aug 2011 05:58 PM
Localscript's don't run when they're in the player object...

Localscripts run in:
The player's character
The player's backpack
The player's playergui.

I'm not sure but I think that they also run in CurrentCamera.
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
23 Aug 2011 06:03 PM
Strange, my localscripts don't seem to be running in the CurrentCamera. Oh well, I've figured out that I don't actually NEED the script to run in the camera.

*facepalm*
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 06:05 PM
@Piedude777; "^ The CurrentCamera is local, you derp."

Really? Call me a derp? That's not even what derp means, and I'm just going off of past experience. Sorry If I'm outdated.(This is a relatively new profile, I'm NOT saying what my old one is.)
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 06:05 PM
Late Post Rrg! -_-
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
23 Aug 2011 06:06 PM
It's sort of obvious that the CurrentCamera is local... You can't access it from the server, only from the client in a localscript...
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 06:13 PM
IK, I used it in a crappy cutscene I made... I knew it was only accessible through a local-script in, say, the playergui, and that there are individual cameras for each player plus the server one, but I didn't know it was 'local'. Guess I never thought about it, but even that they are local, they are still on the Server-side of the game, not the client.
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 06:13 PM
You'd think Cameras for players would go in their playergui, but I may be wrong.
Report Abuse
stuntkid257 is not online. stuntkid257
Joined: 12 Jul 2010
Total Posts: 1394
23 Aug 2011 06:14 PM
Yes. It does. I just learned that today :P
Report Abuse
br45entei is not online. br45entei
Joined: 06 Nov 2010
Total Posts: 1058
23 Aug 2011 06:15 PM
Yes what does? Too vague.
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