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: RemoteFunctions

Previous Thread :: Next Thread 
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
31 Oct 2013 02:03 AM
So say that I have a .Chatted event in a LocalScript that fires a RemoteFunction on some other server script in ServerScriptStorage.

Will the RemoteFunctions under ServerScriptStorage get fired and be noticeable by other server scripts?
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
31 Oct 2013 06:28 AM
"Will the RemoteFunctions under ServerScriptStorage get fired and be noticeable by other server scripts?"

If you do it right yes.
You can connect to the RemoteEvents from anywhere.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
01 Nov 2013 01:39 AM
Oh ok :)

Will this work vice-versa? (Server calling RemoteFunction under a LocalScript and LocalScript detecting it)
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
01 Nov 2013 01:51 AM
yup, using InvokeClient.

~The alpaca of the acting world.
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
01 Nov 2013 04:13 AM
And InvokeServer for server-detection?
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
01 Nov 2013 08:50 AM
Yep yep, but you can't put it in either ServerScriptService or ServerStorage, since the Client can't access any content in either of those services.
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
01 Nov 2013 10:16 AM
What is a remote function
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
02 Nov 2013 03:29 PM
A RemoteFunction is an alternate type of BindableFunction that works between LocalScripts and Script, *instead* of Local <-> Local or Scripts <-> Scripts.
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
02 Nov 2013 03:32 PM
What us a BindableEvent
Can I have a wiki page
Report Abuse
suremark is not online. suremark
Joined: 13 Nov 2007
Total Posts: 6315
02 Nov 2013 03:32 PM
... I wish I knew about these earlier.

My life is so much easier now.
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
02 Nov 2013 05:07 PM
There is a thing called, oh I don't know, searching by yourself.

http://wiki.roblox.com/index.php/RBX.lua.RemoteFunction_%28Object%29
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
02 Nov 2013 06:34 PM
I try but I always end up on a useless page like
http://wiki.roblox.com/index.php/RBX.lua.InsertService_(Service)
That page helps nothing
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
02 Nov 2013 06:36 PM
I thought InvokeServer works for LocalScripts and InvokeClient works on server scripts and not vice versa. Correct?
Report Abuse
adark is not online. adark
Joined: 13 Jan 2008
Total Posts: 6412
02 Nov 2013 09:00 PM
I really need to write the tutorial for these things. So much to do. <.>

For a RemoteFunction, you InvokeServer FROM a LocalScript, and you InvokeClient FROM a Script.
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