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"

Set timer by function name not working with custom event.

Video showing the issue.

https://youtu.be/K5rM-jw5vHU

Goal is for the timer to regenerate the float for mana.

Product Version: UE 4.10
Tags:
more ▼

asked Feb 19 '16 at 12:45 AM in Blueprint Scripting

avatar image

boarn
23 4 7 9

avatar image HauntedPringle May 05 '17 at 01:23 PM

your video is unavailable but i might be having the same issue as you

avatar image IgorTheLight Oct 12 '17 at 12:28 PM

Important note: You can't use a function with any input parametrs in "Set Timer by Function Name". It will compile but won't work!

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

3 answers: sort voted first

I found that neither "Set Timer by Function Name" nor "Set Timer by Event" will loop on the level Blueprint. They only successfully execute loops on a Pawn Blueprint.

more ▼

answered Oct 23 '17 at 04:50 PM

avatar image

DarionRapoza
36 3 1

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

You may be confused about timer nodes.The video is unavailable to me, but from your question this should be the problem.

Set Timer by Function Name, as the name suggests, uses a FUNCTION not an Event. So you should be creating a function with a name "MyFunctionName" and use it as a parameter in the Set Timer by Function Name node.

To use events, you should be using Set Timer by Event. Take a look at this screenshot, maybe this helps you.

alt text

I hope this answers your question, please let me know if you need any more info or help regarding that matter :D.

Cheers.

timers.png (71.4 kB)
more ▼

answered May 05 '17 at 02:50 PM

avatar image

Luiz Sotero
115 1 7 8

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

Important note: You can't use a function with any input parametrs in "Set Timer by Function Name". It will compile but won't work!

more ▼

answered Oct 12 '17 at 12:26 PM

avatar image

IgorTheLight
1 1 2

(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