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 » Scripting Helpers
Home Search
 

Re: What event listeners are there besides Ontouch?

Previous Thread :: Next Thread 
poke114 is not online. poke114
Joined: 06 Dec 2009
Total Posts: 2801
09 Jul 2012 09:07 PM
I'm new to scripting, and I would like to know what other event listeners (or just a few more) than Ontouch. Thanks!
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
09 Jul 2012 09:07 PM
MouseButton1Down

There are far more, and are coming out with.

MouseButton2Down


~thedestroyer115, the most helpful builder!~
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:08 PM
Go here to see all 102 events.
http://wiki.roblox.com/index.php/Category:Events
Report Abuse
poke114 is not online. poke114
Joined: 06 Dec 2009
Total Posts: 2801
09 Jul 2012 09:09 PM
So would MouseButton1Down, if assigned to a brick, would activate a function if somebody clicked on the brick?
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
09 Jul 2012 09:09 PM
PlayerAdded, PlayerRemoving, ChildAdded, MouseButton1Down, MouseButton1Up, MouseClick, etc.
Report Abuse
129K is not online. 129K
Joined: 23 Aug 2011
Total Posts: 19010
09 Jul 2012 09:10 PM
Or you can go to the link White gave you. :P
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:10 PM
:U
Report Abuse
poke114 is not online. poke114
Joined: 06 Dec 2009
Total Posts: 2801
09 Jul 2012 09:10 PM
Thanks. That helps a lot.
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:11 PM
No problem
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
09 Jul 2012 09:18 PM
MouseClick, Jumping, Running, Climbing, Freefalling, GettingUp, Died, HealthChanged, Strafing, MouseButton1Down, MouseButton1Up, MouseButton1Click, MouseButton2Down, MouseButton2Up, MouseButton2Click, MouseEnter, MouseExit, MouseHover, MouseHoverEnter, MouseHoverLeave, Button1Down, Button1Up, Button2Down, Button2Up, MouseMoved, Moved FallingDown, Focuslost, Changed, Selected, Deselected, Equipped, Unequipped, Activated, ChildAdded, ChildRemoved, PlayerAdded, PlayerRemoving, AncestryChanged, Chatted, Hit, Heartbeat, Stepped, Close, DescendantAdded, DescendantRemoving, DragBegin, Dragstopped, TouchEnded, Disconnection, Event, EventConnected, EventDisconnected, Deactivated, OutiftChanged, PlatformStanding, WheelBackward, WheelForward, Seated, StatusAdded, StatusRemoved, ServiceAdded, ServiceRemoved, ServiceRemoving, SpecialKeyPressed, KeyDown, KeyUp, KeyPressed, ReachedTarget, Idle, Idled, LightingChanged, IncomingConnection, MoveStateChanged, Click, Swimming, DialogChoiceSelected, CustomStatusAdded, CustomStatusRemoved, CharacterAdded, CharacterRemoving, AllowGearTypeChanged.

Those are some.
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
09 Jul 2012 09:19 PM
late post, no derp.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
09 Jul 2012 09:23 PM
you only use MouseButton1Down in a tool or hopperbin, if you wanted to click on a brick and make it do something, you'd have to put a clickdetector in it and use this:
script.Parent.ClickDetector.MouseClick:connect(function(player)
with player being the one that clicked it
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:25 PM
lol
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
09 Jul 2012 09:26 PM
@Killjoy
You forgot that it works for Guis
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
09 Jul 2012 09:31 PM
I did forget, didn't I
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
10 Jul 2012 08:21 AM
What's the difference between MouseButton1Down and MouseButton1Click? I see no difference.

~thedestroyer115, the most helpful builder!~
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
10 Jul 2012 09:06 AM
MouseButton1Down == While the left mouse is in "Down state".
MouseButton1Click == When clicked on with the left mouse.

I'm not sure what the exact terminology is.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
10 Jul 2012 09:09 AM
MouseButton1Down is when they press it down, MouseButton1Click is when they press it down then up.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
10 Jul 2012 09:23 AM
Ah, I get it.

~thedestroyer115, the most helpful builder!~
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