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: help with CameraSubject

Previous Thread :: Next Thread 
vippass22 is not online. vippass22
Joined: 12 Dec 2009
Total Posts: 45
04 Nov 2012 09:20 PM
outpost:
Players.Player1.Backpack.SCAR-L.Zoom Script:18: bad argument #3 to '?' (Object expected, got userdata)

script:

game.Workspace.CurrentCamera.CameraSubject = (Tool.Zoom.Position - Vector3.new(0, 0, 10))

whats wrong?
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
04 Nov 2012 09:30 PM
game.Workspace.CurrentCamera.CameraSubject = (OBJECTNOTPOSITION)
What you want is
game.Workspace.CurrentCamera.CoordianteFrame
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