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: Are MouseEnter and MouseLeave broken? D:

Previous Thread :: Next Thread 
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
23 Aug 2011 10:05 PM
Apparently so. Please test this on your own. I'm using a textbutton for this purpose. I've used some standard debugging techniques (printing often) and am getting nothing out of it. Help?

I love making dooly-bops. ~ArceusInator
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
23 Aug 2011 10:14 PM
Works for me :\

~~{I'm a dangerous sociopath with a long history of violence}~~
~{I don't understand how you keep forgetting that}~
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
23 Aug 2011 10:16 PM
Interesting... Would backgroundtrans. have anything to do with it??

I love making dooly-bops. ~ArceusInator
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
24 Aug 2011 01:45 AM
I think you can use background transparency and still use it.

It might need to be an imagebutton, or if not, it'd probably have to be 'Active', as for a frame, in order to get its drag-able property to work, you need to set its Activate property to true

­<'+1 Post. Ujelly?'>
Report Abuse
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
24 Aug 2011 11:08 AM
Check you got the script right.

Example -
-------------------------------------------------------------
script.Parent.MouseEnter:connect(function
-- Your Script...

end)
-------------------------------------------------------------
script.Parent.MouseLeave:connect(function
-- Your Script...

end)

Sometimes It's Easy To Forget The :connect Part.
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
24 Aug 2011 11:10 AM
Hai glos - nice decals. Anyway valid point.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
24 Aug 2011 11:53 AM
Glos. you forgot about 4 parenthesis.

­<'+1 Post. Ujelly?'>
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
24 Aug 2011 03:55 PM
>implying I would forget something trivial like :connect() TWICE
I think not... Here's the connection lines. I even stripped it down to just print("working") for the function.

script.Parent.MouseEnter:connect(MouseEntered)
script.Parent.MouseLeave:connect(MouseLeft)

I love making dooly-bops. ~ArceusInator
Report Abuse
aboy5643 is not online. aboy5643
Joined: 08 Oct 2010
Total Posts: 5458
24 Aug 2011 04:05 PM
Interesting... I could only do this using an anonymous function D: That's weird... I just altered it a little. I even checked my function names too... Strange... Must be weird bug.

I love making dooly-bops. ~ArceusInator
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
24 Aug 2011 05:23 PM
Don't be dissing the anonymous functions.

­<'+1 Post. Ujelly?'>
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