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. 

Enable/Disable Tick in Blueprints bugged?

I am not quite sure but I think there is a Problem in Blueprints where you are not able to Enable/Disable Tick Events inside Blueprints during runtime. It doesn't matter if I disable Event-Tick from the getgo and try to enable it or have it enable by default and try to disable it with "Set Actor Tick Enabled", it will not work. If it is activated by default it will tick forever, and if it is disabled by default it will never tick no matter what I tried.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 03 '15 at 10:19 AM in Blueprint Scripting

avatar image

Nobody
126 7 16 25

avatar image jayice Oct 03 '15 at 10:59 AM

This may be of some help, it's not exactly what your looking for.

https://www.unrealengine.com/blog/unreal-engine-49-released?utm_content=49_release&utm_medium=chromium&utm_term=banner&utm_campaign=communitytab&utm_source=launcher

This is only in release 4.9.x, essentially it lets you set the tick interval, I have not looked to see if there is a new node allowing you to change that interval at run time.

The way I do what your talking about (again it's close, but not exact), is that I just have a countdown var, when the var reaches zero, the flow is allowed into the event graph, and of course the var is reset to the value I want i too. This allows me to alter the var at runtime, allowing more or less Event Ticks to flow through the system.

For your needs of turning it off, you would set the var to Max value, and then when ready for the event graph to actually run, set it to 1, hence it would always fire.

While you may have 1000's of blueprints running, the total accumulated runtime of them all, processing the event tick, decrementing a var, doing a test, and exiting 99.999999999% of the time is going to be very low, as compared to the processing of the rest of the system.

Hope this helps,

Jay

IceWare

avatar image Nobody Oct 06 '15 at 08:57 AM

Thanks for the Reply.

Its not like I don't know a way around the Problem, there are plenty of ways to it and even don't use Tick Events at all. Unfortunalty you can't change the Tick Interval during runtime and I wouldn't want to have a lot of Event Ticks which fire, even though they are just checking a var or bool, i still think that it can be a bit performance heavy after a while, instead of just having them deaktivated and only activate them if needed.

The Problem more or less ist that there is a Node called "Set Actor Tick Enabled" which should theoreticly allow you to enable and disable the Event Tick in your Blueprint during runtime, but it simply doesn't work, which for me seems like a Bug.

Greetings,

Nobody

avatar image jayice Oct 06 '15 at 09:03 AM

My apologies, for having insulted you.

The link that I put in, does indeed show how to change the tick interval, the granularity may not be what you are looking for, because it's measured in seconds.

If you care to go to the link, and then search for "Tick" you will see a image there, showing where it can indeed be set for N seconds. This is for 4.9.x which may or may not be what you use.

Have a great day

Jay

IceWare

avatar image Nobody Oct 06 '15 at 09:14 AM

You have not insulted me, no worries :)

Well you can change the Tick Interval, but there is no Node for changing it during runtime (and I looooove doing stuff during runtime). I am using 4.9.2, always trying to stay up to date with the engine versions. :)

The premise of this is, that I am currently writing a tutorial about Blueprints in german and I wanted to show how to enable/disable ticks during runtime to save performance, and then stumbled upon the problem that the "Set Actor Tick Enabled" Node doesn't do anything, at least when I tested it.

Greetings,

Nobody

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

1 answer: sort voted first

This seems to be fixed in 4.10 preview :)

more ▼

answered Oct 17 '15 at 08:55 AM

avatar image

Nobody
126 7 16 25

avatar image guzzard May 18 '16 at 09:09 AM

Broken in 4.11.2 again :-(

avatar image Napoleonite May 18 '16 at 06:09 PM

Yes I confirm that this is currently broken. Disabling actorticking does nothing in blueprints. I tried the constructor, beginplay, in the tick itself, nothing worked. Very annoying I hope it will be fixed soon.

avatar image Slavq Jul 25 '16 at 09:48 PM

Same on 4.12 now. Any news? Is it being fixed?

avatar image Slavq Jul 25 '16 at 09:53 PM

I've reported it here: https://answers.unrealengine.com/questions/458873/set-actor-tick-enabled-not-working.html

UPDATE: It works only when called from Begin Play event, but not from other events or functions executed after spawning!

(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