P
Polishwonder74
Guest
Y'all might be sick of hearing about my silly catapult, but now I'm trying to figure out how to teleport a spawned catapult projectile (physbox) to the throwing arm of the catapult.
Right now I've got a physbox projectile that lights on fire and spews smoke, and then explodes after a few seconds, about .1 seconds later I have it killhierarchy and then have it forcespawn a new one (complete with fire, smoke and explosion entities) from a point_template. So this is all fine and good, but the point_template always spawns the new projectile right where the original was sitting when the map is started, despite the fact that the catapult has moved.
So I've been looking through tutorials trying to figure out how to teleport the spawned projectile onto the catapult, but I am having no luck. This teleporter tutorial seemed to be exactly what I need, but I can't get it to work. Can anyone help me out with this? I need to figure out how to spawn a projectile from a point template, and then get it to teleport to a info_teleport_destination that is parented to my catapult.
Thanks for reading! :cheers:
Right now I've got a physbox projectile that lights on fire and spews smoke, and then explodes after a few seconds, about .1 seconds later I have it killhierarchy and then have it forcespawn a new one (complete with fire, smoke and explosion entities) from a point_template. So this is all fine and good, but the point_template always spawns the new projectile right where the original was sitting when the map is started, despite the fact that the catapult has moved.
So I've been looking through tutorials trying to figure out how to teleport the spawned projectile onto the catapult, but I am having no luck. This teleporter tutorial seemed to be exactly what I need, but I can't get it to work. Can anyone help me out with this? I need to figure out how to spawn a projectile from a point template, and then get it to teleport to a info_teleport_destination that is parented to my catapult.
Thanks for reading! :cheers: