SPAWN WHEN IT IS DESTROYED?
Eminem
Member Posts: 667
Hi!
I am trying to spawn an actor when destroyed so what i am doing is setting a timer after 2 sec spawn at 0,0 i want it to spawn at the exact place it is destroyed but im not sure what im doing wrong?
anyone know
Thanks in Advance
I am trying to spawn an actor when destroyed so what i am doing is setting a timer after 2 sec spawn at 0,0 i want it to spawn at the exact place it is destroyed but im not sure what im doing wrong?
anyone know
Thanks in Advance
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
at 0.1 destroy
Try this, on the actor itself, do something like this:
on touch
timer - after 2 seconds spawn newActor (make sure run to completion is checked)
timer - after .1 seconds destroy
this will give the spawn actor enough time to kick off.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
timer - after 2 seconds spawn newActor (make sure run to completion is checked)
timer - after 3 seconds destroy
it works! but i want it to immediatly i think this is because it needs the actor active in order to spawn
Like others said create an attribute and a spawner actor so that secondary actor controls the spawn time and location of the destroyed actors current location xy
Just set the alpha to 0 and disable all rules on it (other than the spawn and destory), after 2 seconds spawn actor 0,0 relative to actor and destroy.
THANK YOU EVERYONE FOR LETTING ME FIGURE THIS OUT!
THANK YOU
-RH
-COWTECHMAN
-CHASER
-JONMULCHAY
-PSARTORIO
-CHARDINAL
THANK U ALL!
Glad you figured it out
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left