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: BindableFunction/BindableEvent

Previous Thread :: Next Thread 
Ozzypig is not online. Ozzypig
Joined: 27 Mar 2008
Total Posts: 4906
04 Jun 2013 06:13 AM
I've determined using the scientific method* that these two objects are among the best ever added to ROBLOX. What have you made that use them?

~Ozzy

*my biased opinions
Report Abuse
RyanDolan123 is not online. RyanDolan123
Joined: 05 Mar 2009
Total Posts: 17919
04 Jun 2013 06:32 AM
hi ozzy

Also keybound shortcuts that trigger bindableevents in Kill The Clones. This makes it so you can still use a few important gui elements in first person mode without the Modal property.
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
04 Jun 2013 06:37 AM
BindableEvent would be perfect, if it was replicated.

BindableFunction is completely useless and would serve a little use, if it was replicated.

Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
04 Jun 2013 06:41 AM
*if they were replicated
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
04 Jun 2013 07:55 AM
I'm making a minecraft voxel mining style game thingy atm (well, trying to anyway, studio is impossible to work with - explanation below), and I used a BindableEvent in the workspace created by the server game script. All the localscripts in the player's backpacks detect when the player is trying to mine, then call
workspace.NotifyVoxelMined:Fire(mouse.Target);
and:
NotifyVoxelMined.Event:connect(function (voxel) Map:mine(voxel); end); -- cause I have an _G.Map class
This way the server can manage it all cause when a block is mined, the ~5 other parts around it that are now visible need to be instanced, but it needs to not put one where there has been a block and it's much easier to have the 1 server script manage all that.


Why studio is impossible to work with:
- Press play
- Scripts are in the script performance tab and run fine
- Press reset, the scripts are still in the script performance tab
- Edit code
- Press play
- Nothing happens
- Press reset
- Press play
- Now the scripts work, and they appear in the script performance tab, but the old ones don't go away - there is now 2 of each script in this tab
- Press reset, all the scripts are still in this tab
- Continue
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
04 Jun 2013 08:11 AM
@dr: That can't work, because bindable event calls are not replicated.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
04 Jun 2013 08:24 AM
o? I haven't tested it online, only in solo... crap, meh I cba to work on it anyway cause studio is annoying. I prefer st2 + love.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
04 Jun 2013 08:34 AM
Dr01d is still right on Studio being a pain at times to work with. I had an earlier issue at my Rainbow Monkey map where the reset button would not restore objects that scripts had removed. It was like losing work, but still having a map.
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
04 Jun 2013 08:46 AM
BindableFunction would be really useful for protecting your source code because you could just send a pre-compiled function to the client from the server without having to use a LocalScript.
BindableEvent would be really useful because it would be much easier to script across the network.
Unfortunately, neither of these are replicated :c
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
04 Jun 2013 01:58 PM
BindableEvent is pretty useful
BindableFunction has no use since BindableEvent can do its job better, and BindableFunction cannot yield.
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