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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to send message from server to client


I'm have a small problem here getting my server to send a message to the clients connected, I'm doing a small test with a flashlight toggle. Client can see the server's flashlight on runtime, client can turn his own flashlight on/off and it gets replicated on both perfectly, but client can't see when server toggles his flashlight on/off, what am I doing wrong? I have the code setup like I've seen multiple times already and it's the same as the ShooterGame.

Here's the code:


     virtual void FlashlightToggle();
     UFUNCTION(Reliable, Server, WithValidation)
     void SERVER_FlashlightToggle();


 void AProjectFrequencyCharacter::FlashlightToggle()
     if (Flashlight)
         if (Role < ROLE_Authority)
 bool AProjectFrequencyCharacter::SERVER_FlashlightToggle_Validate()
     return true;
 void AProjectFrequencyCharacter::SERVER_FlashlightToggle_Implementation()

Product Version: Not Selected
more ▼

asked Jan 09 '15 at 04:31 AM in C++ Programming

avatar image

1 1 2 1

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

1 answer: sort voted first
more ▼

answered Jan 09 '15 at 08:58 PM

avatar image

Mark James G
534 44 24 51

(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