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"

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 can i set up an event that will increase a character's (enemy) walk speed...every time an integer variable in the game mode increases?

and help or blueprint image references would be greatly appreciated.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 28 '17 at 03:36 AM in Blueprint Scripting

avatar image

mrwrong138
46 4 4 8

avatar image Two-faced May 01 '17 at 06:53 PM

Do you still need any help?

avatar image mrwrong138 May 03 '17 at 04:52 AM

alt text

Thank you, i finally got it to work with this setup. And on the game mode side i did [Spawn Actor --> Get All Actors Of Class--> Increment Speed]

capture.jpg (53.8 kB)
avatar image Two-faced May 03 '17 at 09:20 AM

Perfect! I happy that I was helpful. Please mark answer with green check mark for searching purpose. alt text

accept.png (3.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Set max walk speed of a character (or enemy character)

alt text

more ▼

answered Apr 28 '17 at 07:05 AM

avatar image

Two-faced
849 31 13 47

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

Hey Mrwronga,

In your game mode BP create a custom event that correlates to the increasing interger. As far as scripting that I don't know more about your project to give you the best approach but basically that's the direction. Then when this event fires you need it to cast to the character you want to increase the speed of. Again I don't know your project or setup. From that cast I would set a variable that controls that characters speed.

If you need more help post up some of your BPs and let us have a look for the best approach.

Best

more ▼

answered Apr 28 '17 at 05:54 PM

avatar image

Mobfolios
123 5 6 11

(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