Ensuring the execution of an event when it is executed multiple times?
I've been playing around with the following Blueprint:
To summarise, whenever an actor is hit by a line trace (raycast), a MID is created, a MID parameter is changed, and then after a delay, the MID parameter is reset. Everything works as intended. However, if the event is executed (again) before the delay duration (2 seconds), the MID parameter doesn't get reset. Ultimately, I'd want the event to be queued so that all of the MID parameters get reset, regardless of how many times the event is executed. I've tried converting the "HitComponentColour" variable to an array, and although the array gets added to successfully, I was still unable to make it function correctly.
Any help will be greatly appreciated. Thanks!
asked Feb 02 '15 at 10:16 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here