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: Classifying bricks

Previous Thread :: Next Thread 
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:11 PM
How would you guys think I'd go about making a script that detects bricks that are walls? In context, I'm trying to make a wall running system. Think Mirror's edge or Warframe. I don't want scripts, I want a nudge in the right direction.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
06 Jul 2015 10:12 PM
umm.. not sure what you mean

if part.ClassName=="Part" and part.Name=="aDAMwall" then
-- code
end
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
06 Jul 2015 10:13 PM
if part:IsA("Part") *


"Talk is cheap. Show me the code." - Linus Torvalds
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:19 PM
alright. So I'm trying to figure out how I would be able to distinguish floors from walls, and when you're touching a certain surface of a given base part.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
06 Jul 2015 10:21 PM
Just name the walls different from something else or just insert an xvalue into the part that lets the client know it's a climbable wall.

For the latter, google pls
http://www.roblox.com/Forum/ShowPost.aspx?PostID=96431229

Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:25 PM
that takes too much work, and I would like to do this automatically via script. I'd like to find out how to tell if a vertical surface that is more than x studs tall.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
06 Jul 2015 10:26 PM
part.Size.X
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:26 PM
I've been doing that but I dont like it that's why I came here.
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
06 Jul 2015 10:27 PM
Well, how else would you do it?
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:27 PM
right. by the way that's the Y value. Thanks anyhow. also that thread you linked me to is an insane amount of time saved!
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:27 PM
haha that's what I'm asking y'all
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
06 Jul 2015 10:28 PM
i sincerely hope you know that the X part was a mistake or i'm going to look like the worlds dumbest human
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:31 PM
I recognize it.
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
06 Jul 2015 10:34 PM
OH! So I will check the rotation of the brick first to figure out which value (X,Y or Z) is the vertical axis on the parts local axis. Then i'll just figure out how tall that surface is and then mark it. Thanks for your help and that nifty surface touched function!
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