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 » Scripters
Home Search
 

obtaining userdata type?

Previous Thread :: Next Thread 
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
03 Feb 2014 06:25 PM
is there a way to obtain the type of an userdata object in lua?

i've tried type, but it only returns "userdata".
Report Abuse
Dimitriye98 is not online. Dimitriye98
Joined: 16 Jun 2008
Total Posts: 182
03 Feb 2014 10:24 PM
Go to scripting helpers. Also, when you arrive at your destination please provide more information. Userdata can refer to Roblox objects such as Parts and Cameras or to API objects like Vector3s and CFrames, or even other things such as the arbitrary userdata objects provided by "newproxy()". Context is important.
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
03 Feb 2014 10:58 PM
ColourfulBody made a function for this: http://wiki.roblox.com/index.php/User:JulienDethurens/Scripts/Heading_code#is_a.28value.2C_data_type.29

It's super hacky, but it works.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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