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
 

Re: ROBLOX Terrain

Previous Thread :: Next Thread 
xolbStudios is not online. xolbStudios
Joined: 05 Nov 2009
Total Posts: 504
17 Aug 2015 11:50 AM
Is there any way to find the terrain cells in a given area?

The Swimming event doesn't trigger while the Humanoid is in the PlatformStand state so I need another method to find out if the Character is in the water or not.
Report Abuse
lupine is not online. lupine
Joined: 24 Jun 2008
Total Posts: 3561
17 Aug 2015 11:56 AM
http://wiki.roblox.com/index.php?title=FindPartsInRegion3

Try this.
If not, try these

http://wiki.roblox.com/index.php?title=API:Class/Terrain/GetCell
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/Swimming
Report Abuse
xolbStudios is not online. xolbStudios
Joined: 05 Nov 2009
Total Posts: 504
17 Aug 2015 11:58 AM
Figured this out myself.
Report Abuse
xolbStudios is not online. xolbStudios
Joined: 05 Nov 2009
Total Posts: 504
17 Aug 2015 12:02 PM
Actually, I can't seem to figure out why water isn't detected by GetCell :l
Report Abuse
lupine is not online. lupine
Joined: 24 Jun 2008
Total Posts: 3561
17 Aug 2015 12:05 PM
I noticed as soon as I hit the 'Post' button - getting a water cell uses a different function. Use 'GetWaterCell(x,y,z)' instead

http://wiki.roblox.com/index.php?title=API:Class/Terrain/GetWaterCell
Report Abuse
xolbStudios is not online. xolbStudios
Joined: 05 Nov 2009
Total Posts: 504
17 Aug 2015 12:11 PM
Thank you, so much!
Report Abuse
xolbStudios is not online. xolbStudios
Joined: 05 Nov 2009
Total Posts: 504
17 Aug 2015 12:12 PM
Actually, this still doesn't work :<
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