Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Difference between Bindable Functions and Remote events?

Asked by 8 years ago

Can someone please explain the difference, or at least point me in the right direction, of these two? Thanks in advance.

1
Do you know the difference between a client and a server? honeygold13843 136 — 8y
0
Reminder: there are four of these things: BindableEvent, BindableFunction, RemoteEvent, RemoteFunction. BlueTaslem 18071 — 8y

1 answer

Log in to vote
0
Answered by
nanaluk01 247 Moderation Voter
8 years ago
Edited 8 years ago

A BindableFunction is a ROBLOX object that allows you to give access to functions to external scripts. Functions put in BindableFunctions will not be replicated, therefore making it impossible to use these objects to pass functions between scripts. Functions are invoked through Invoke, which calls OnInvoke.

RemoteEvents are similar to BindableEvents, but allow crossing the client/server boundary. This allows a Server Script to call code in a Local Script and vice versa. This can be useful when using features such as FilteringEnabled.

If the result of the call is needed then use a RemoteFunction. Otherwise a RemoteEvent is recommended as it will minimize network traffic and latency. RemoteEvents don't yield the script and wait for a response when they're called.

For more info, I suggest visiting these links:

http://wiki.roblox.com/index.php?title=API:Class/BindableFunction

http://wiki.roblox.com/index.php?title=API:Class/RemoteEvent

If this helped you, make sure you accept the answer.

0
I would look more into the difference between BindableEvents and BindableFunctions and the difference between RemoteEvents and RemoteFunctions because this question doesn't make any sense Happywalker 185 — 8y
Ad

Answer this question