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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

2long

Previous Thread :: Next Thread 
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 05:55 PM
UNcancollide part on that UNcancollide ontouch part, will the ontouch part still function?
I know an UNcancollide ontouch part still functions, not sure about uncancollide + uncancollide
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
23 Apr 2013 05:59 PM
What is uncancollide and ontouch?

You mean CanCollide is set to false and a .Touched event hooked up to a function named 'onTouch?'
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
23 Apr 2013 06:00 PM
Yes.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 06:01 PM
^^^
WHAT LOL O_O

Ok let me explain this easier...


PART A <-- Cancollide set false and this part A has a ontouch function script in it

PART B <-- Cancollide set false.

Drop part B onto part A, will part A script still function on part B?
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 06:02 PM
thanks
and i was doing ^^^ LOL WTF to usering's question
Report Abuse
yomamadude6 is not online. yomamadude6
Joined: 21 Nov 2009
Total Posts: 2151
23 Apr 2013 06:02 PM
yes
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
23 Apr 2013 06:25 PM
There is nothing in Lua named 'ontouch' or NOTcancollide. I was just specifying what they were.
Report Abuse
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
23 Apr 2013 06:36 PM
Usering is right. You can't assume every time there is a Touched event hooked up with a function, it will be called onTouch. I have had had Touched functions called:

function heal(hit)
function kick(hit)
function turnintocheese()
function explode(hit)

Also, UNCanCollide is not a ROBLOX term. It has been called setting CanCollide to false. And, yes, it would still work. You are touching something that goes through you.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
23 Apr 2013 06:39 PM
Who cares, you still know what I'm talking about.
Yes I know you have to set cancollide to false, but don't bother with it if you already know what I'm talking about ;)
Report Abuse
ForceSky is not online. ForceSky
Joined: 30 Jul 2012
Total Posts: 2379
23 Apr 2013 06:42 PM
Your title is very confusing. He does have the right to be confused, because he's a little more... *cough professional cough*
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