|
| 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
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
| |
|
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 |
|
|
|
| 23 Aug 2011 05:56 PM |
| ^ The CurrentCamera is local, you derp. |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 23 Aug 2011 05:56 PM |
| Local Scripts run in the CurrentCamera. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 06 Nov 2010 |
| Total Posts: 1058 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 23 Aug 2011 06:14 PM |
| Yes. It does. I just learned that today :P |
|
|
| Report Abuse |
|
|
br45entei
|
  |
| Joined: 06 Nov 2010 |
| Total Posts: 1058 |
|
| |
|