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"

TIMER ON LINETRACE

HI, I did this blueprint, to set the visibility when the player looks at the actor. But i would like it to set the visibility only after a second or so looking. I know I need to use the timer, but i can't figure out how and where. Would anyone help? alt text

Thanks!

Product Version: UE 4.10
Tags:
blueprint.jpg (225.1 kB)
more ▼

asked Jan 14 '16 at 06:43 PM in Blueprint Scripting

avatar image

Narayani
1 1 2

avatar image -Ross Jan 14 '16 at 07:10 PM

Just put delay nodes between the branch and the Set Visibility nodes and set the time to whatever you like.

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

1 answer: sort voted first

Hi Narayani,

The way I would set this up is using a float value that you increment as long as the player is looking at the object. Once the desired float value is achieved, it allows you to continue with your function. If your trace no longer hits the actor, reset the float to 0.0. You could set it up like this:

alt text

timercheck.png (232.0 kB)
more ▼

answered Jan 14 '16 at 08:46 PM

avatar image Narayani Jan 15 '16 at 07:44 PM

Thanks!!

(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