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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Event tick to stop firing once it is false

Hi Unreal community, I am kind of new to bluepritns and scripting, but I have made node system that checks if an object is visible to the camera and if not it changes the visiblity of said object. I want to use this to make objects appear in places when to player is not looking at them. I can't however for the life of me figure out how to stop the function from running on and keep turning the visiblity of the object off and on. This means it kind of becomes a 50/50 chance for the object to be there. Does anyone have an idea on how to stop this event tick from running once the function returns false once? So the object will always be there after having looked in that area once before? Thanks for reading! alt text

Product Version: UE 4.10
more ▼

asked Apr 09 '16 at 08:29 PM in Blueprint Scripting

avatar image

3 2 3 4

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Use a once only node this will run the function once then if something changers it will stop the next loop. send something to it from toggle visibility to the once only to stop it. The other option is to override the condition into the branch node.

more ▼

answered Apr 09 '16 at 11:25 PM

avatar image

143 7 6 7

(comments are locked)
10|2000 characters needed characters left

on the branch drag off condition and type "is visable" and connect the cube to that

more ▼

answered Apr 10 '16 at 12:18 AM

avatar image

twenty one
65 5 8 15

(comments are locked)
10|2000 characters needed characters left
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