limited time for spawned actor to be seen on screen
last_hero_87
Member, PRO Posts: 1
Hello guys, I am working on a project and have difficulty in limiting the time of the spawned actor. I've made it spawn random(3,5) seconds but don't know how I can make it disappear after -for instance-0.2 secs. Help please
Comments
In the actor being spawned.
Add a timer, and change it to "After". Type in the number of seconds you want the actor to disappear afterwards. Eg, random(0,20)/100
In the timer, add a destroy behaviour.
Now the actor will destroy it self after 0 - 0.2 seconds after being spawned.
Best,
Two.E
GSLearn.com | Templates | Free Demos | Udemy Course