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"

slider value set as zero on server

I am trying to set up a slider for a power management system in my project. The code works fine until I try to set it up networked and at that point the slider value is zeroed out. What am I doing wrong?

Variables are: Max Mod Value = 3 Owning ship = actor ref to parent

alt text

alt text

alt text

Product Version: UE 4.13
more ▼

asked Nov 05 '16 at 04:15 AM in Blueprint Scripting

avatar image

152 8 9 16

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

1 answer: sort voted first

Is this "Set Mod Reactor" event in widget bp? If yes, you should put it into player controller or character, something which exist on server too, so the object can send replicated event call to server copy of self and execute it there.

more ▼

answered Nov 05 '16 at 10:51 PM

avatar image

1.2k 57 21 57

avatar image Blastertoad Nov 06 '16 at 05:06 PM

The widget is in a widget component so will be on server as well unless I am mistaken Would there be any functional differences calling an event on my ship pawn vs casting variable change to ship pawn?

avatar image Blastertoad Nov 17 '16 at 06:37 AM

I have done 2 thing to fix this issue. Firstly I am now executing the commands on my ship blueprint vs widget, second I check the value does not equal 0 befor setting

(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