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"

Toggle off

I put a point light at the sphere actor. and made it toggle like the picture. but I don't know how to off this. I tried to set the actor scale to 0 but the light is still in toggle Plz help mealt text

Product Version: UE 4.21
Tags:
toggle.png (151.1 kB)
more ▼

asked Apr 07 '19 at 11:26 AM in Blueprint Scripting

avatar image

bokyeongisme
1 1

avatar image Everynone Apr 07 '19 at 11:37 AM

What is this supposed to do? Perhaps it'd be better if you described what you want to achieve.

A self repeating looping event makes little sense.

avatar image bokyeongisme Apr 07 '19 at 12:15 PM

it's kind a blinking? twinkle? the light. eventhough i set the scale 0 or set the brightness 0 it's still blinking

avatar image ThompsonN13 Apr 07 '19 at 02:58 PM

if your attempting to stop the blinking then you need to either stop the loop or stop the execution of the script. to stop the loop you could use the clear and invalidate by handle node to stop the loop, it will restart when the event is called again. to stop the execution of the script you could insert a branch node just prior to the toggle vis node and use a bool value to control if the script should run.

i agree with Everynone a " A self repeating looping event makes little sense.". i dont think it will perform well and will probably cause bugs.

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

2 answers: sort voted first

Promote the return value of "Set Timer by Event" to a variable and when you want to stop it drag an "Invalidate Timer" of the variable.

alt text

more ▼

answered Apr 07 '19 at 03:20 PM

avatar image

FreezerNick
31 1 3

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

You can set the Brightness to 0

alt text

help.png (66.1 kB)
more ▼

answered Apr 07 '19 at 11:41 AM

avatar image

THT_Nick
19 1 2 3

avatar image bokyeongisme Apr 07 '19 at 12:12 PM

it doesnt work.....

(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