Hi, I have a question and I would appreciate it if any one of you can help me with this. Anyways, my question is:
Is there a way to track the remaining time an actor has after it has been spawned. In my case this is a rocket, a sub class of a RocketMk2. What I want to do is, find a way to track it's remaining time in the world after it's spawned, and to make things more realistic, call it's "Explode" function about a second before it's expiration, instead of the rocked dissapearing all of the sudden.
Is the LifeSpan variable used only to set the...well, life span of the actor, or does it also keeps track of it? Or is there some function that returns this value?
Is there a way to track the remaining time an actor has after it has been spawned. In my case this is a rocket, a sub class of a RocketMk2. What I want to do is, find a way to track it's remaining time in the world after it's spawned, and to make things more realistic, call it's "Explode" function about a second before it's expiration, instead of the rocked dissapearing all of the sudden.
Is the LifeSpan variable used only to set the...well, life span of the actor, or does it also keeps track of it? Or is there some function that returns this value?