x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Replicated functions in blueprints?

In blueprints, variables can be set to replicated, which replicates them from the server to clients.

However, I don't seem to be able to make replicated functions in blueprints, so that I can execute a function on the server from a client (Equivalent of reliable/unreliable server/client functions in C++).

Is this functionality not in (yet), or am I just missing something?

Product Version: Not Selected
Tags:
more ▼

asked Mar 23 '14 at 12:03 AM in Blueprint Scripting

avatar image

MulleDK19
2.7k 161 274 254

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

There are replication options in custom events. So you coulud create a custom event, set its replication options on the Details tab, and call that event when appropriate.

more ▼

answered Mar 23 '14 at 12:18 AM

avatar image

Ixiguis
1.2k 58 61 253

avatar image MulleDK19 Mar 23 '14 at 12:23 AM

That's EXACTLY the option I was looking for. This is the equivalent of server/client functions. Thanks!

avatar image CrimsonHawk Sep 25 '16 at 07:59 PM

What if I need it to return a variable at the end? Like "Choose one from this array, delete it from there and give me its reference"?

avatar image JulianS Sep 09 '17 at 11:31 AM

Good question, i mean it is possible to workaround this somehow but thats somekind of dirty. I hope we get the possibility to get replication options for any function anytime.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question