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"

How can i disable movement for all players in multiplayer?

I would like to have this in blueprints-

so i have a multiplayer game and at the begin of the game i want to disable the movement for every connected player and then after a countdown i want to enable it.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 27 '17 at 09:19 AM in Blueprint Scripting

avatar image

Jeremy_drn
51 6 11 12

avatar image Two-faced May 02 '17 at 09:30 PM

Do you still need any help?

avatar image Jeremy_drn May 03 '17 at 05:08 AM

hm, well i spawn Players in the Gameplay GM and all Actors of class didnt work, because the very last Player can still move ( maybe i need a timer, where i call this often enough so everyone can't move, even the last Player that spawns. Ob begin play in Char it didnt work neither so- atm i dont have the solution-right

avatar image Erumaru May 03 '17 at 06:27 AM

Create some counter, then after each spawn let actor increment it. When it reaches count u need, start event which stops movement.

avatar image Two-faced May 03 '17 at 09:11 AM

Wait. If you need only specific characters to be disabled you can check their ID's and the loop. If you need to disable their movement right after they spawn, you should spawn them with desirable mode and allow them to move after that.

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

2 answers: sort voted first

Set movement mode of all players to None, then set it back to walking after delay.

alt text

123.png (41.3 kB)
more ▼

answered Apr 27 '17 at 11:09 AM

avatar image

Erumaru
630 12 13 52

avatar image Jeremy_drn Apr 29 '17 at 03:23 PM

but where? should i do this in the game state for each player or what?

avatar image Erumaru Apr 29 '17 at 03:43 PM

better to do this in gamestate or game mode

avatar image Erumaru May 31 '17 at 09:46 AM

Are you still facing that problem? Please let me know or mark it resolved by choosing answer.

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

Get all players anywhere you want by this code: alt text

more ▼

answered Apr 29 '17 at 03:32 PM

avatar image

Two-faced
842 31 13 47

avatar image Jeremy_drn Apr 29 '17 at 03:47 PM

ty - i will try this out

avatar image Two-faced Apr 29 '17 at 04:04 PM

You are welcome)

(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