Thought I had this figured out
bluebyu25
Member Posts: 500
So a week or two ago I posted on this (Couldnt find it otherwise I would bump it) but basically what I thought was a solution was anything but.
The problem is that I cannot make a recycled actor adhere to a timer once its been recycled. So I have an actor and every random 3-6 seconds it changes velocity (or move to, accelerate wont work, tried interpolate,etc.) and once it is pressed it changes its X,Y value back to the top of the screen but then it will immediately move back down....i cant for the love of all that is good and decent figure out how, once it is pressed, not move again for the random 3-6 seconds.
Now I am off to fold my wife's laundry since shes working away at the hospital all night, and when I get back, if someone has this resolved I will do 36 consecutive backflips. Maybe even 37, maybe.
Cheerios
The problem is that I cannot make a recycled actor adhere to a timer once its been recycled. So I have an actor and every random 3-6 seconds it changes velocity (or move to, accelerate wont work, tried interpolate,etc.) and once it is pressed it changes its X,Y value back to the top of the screen but then it will immediately move back down....i cant for the love of all that is good and decent figure out how, once it is pressed, not move again for the random 3-6 seconds.
Now I am off to fold my wife's laundry since shes working away at the hospital all night, and when I get back, if someone has this resolved I will do 36 consecutive backflips. Maybe even 37, maybe.
Cheerios
Comments
EDIT: It really boils down to this, is there a behavior or way to RESET A TIMER within an actor. Long story short I did some tests and my timer just keeps going, so obviously I cant do every random 1-5 seconds because 1-5 seconds has already passed and then it acts bizarre.
I am not sure I understand your problem...but it sounds like you want the timer to reset upon being pressed?
could you not just restart the timer that way. Create a rule: once pressed set time to zero.
Or is your timer independent of the actor?
Rough day for me on the programming side lol
EDIT: Solved my new problem by constraining X,Y attributes. One down, one to go.