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: Scripts in the camera

Previous Thread :: Next Thread 
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
10 Jan 2014 12:01 AM
The wiki claims that scripts don't work in the camera local or not, this is true when you are in play mode, however I noticed when i'm in build mode scripts in the camera still work.

Can anyone explain this? It's getting kind of annoying after hours of work it only works in build mode.
Report Abuse
YEGGOR is not online. YEGGOR
Joined: 02 Apr 2013
Total Posts: 1150
10 Jan 2014 12:04 AM
ok so heres how a game server's camera works

since every player has an individual camera, and the build mode's camera isnt replicated into every camera, no players have the scripts in their camera, which doesnt allow them to run :P
Report Abuse
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
10 Jan 2014 12:14 AM
I'm using the get current camera method to place the script into every players camera but the scripts refuse to run
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
10 Jan 2014 07:08 AM
because scripts dont run in cameras
duh
Report Abuse
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
10 Jan 2014 06:21 PM
Well you don't see the problem here the problem is that is runs in the camera while in build mode but not in play mode.
Report Abuse
redpenchill is not online. redpenchill
Joined: 24 Jul 2008
Total Posts: 450
10 Jan 2014 06:47 PM
Some features of build/edit mode are disabled in online mode.

Anyways... What would you be trying to do with a script in the camera?
Report Abuse
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
10 Jan 2014 06:49 PM
well i was trying to make local gun attachments and the scripts happened to be in there
Report Abuse
redpenchill is not online. redpenchill
Joined: 24 Jul 2008
Total Posts: 450
10 Jan 2014 06:53 PM
I'm not absolutely sure it would work, but you could try putting the attachments in a message within the player's character.
Report Abuse
redpenchill is not online. redpenchill
Joined: 24 Jul 2008
Total Posts: 450
10 Jan 2014 07:04 PM
Here is a test I made, It seemed to work:

http://www.roblox.com/Local-Script-test-place?id=31545324

I made it un-copylocked as well so feel free to check it out :)
Report Abuse
redpenchill is not online. redpenchill
Joined: 24 Jul 2008
Total Posts: 450
10 Jan 2014 07:17 PM
Hmm... Actually.. That might not be working >.<
Report Abuse
redpenchill is not online. redpenchill
Joined: 24 Jul 2008
Total Posts: 450
10 Jan 2014 07:30 PM
My goodness :D I got it to work! :D feel free to check it out now ^.^
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