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"

[Closed] RPC calls from UObject?

Hi!

Is it possible to make RPC calls from UObjects or must you us an AActor class for that? I tried to model a Weapon that inherited a UObject but when I tested it I discovered that there didn't seem to be any PRC call at all, just failing silently (both the server and clients seems to just run the function like a normal function). Is this correct or am I misunderstanding something? I got RPC calls to work for an AActor earlier.

Product Version: Not Selected
Tags:
more ▼

asked Apr 16 '14 at 09:20 PM in C++ Programming

avatar image

undercover
853 125 112 138

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

The question has been closed May 27 '14 at 03:06 PM by undercover for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

You must make RPC calls from an actor, and if you are the client, you must own that actor.

Here is a similar question that may help: https://answers.unrealengine.com/questions/28782/run-on-server-rpcs-doesnt-work.html

more ▼

answered Apr 16 '14 at 09:23 PM

avatar image undercover Apr 17 '14 at 04:51 PM

Thanks a lot! That explains my problems.

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

Follow this question

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

Answers to this question