I am trying to track rockets fired from an aircraft so I can handle its damage and napalm.
I would like if we had a heli version of OnRocketLaunched, however, before I put that as a request I would like to know if anyone has any recommendations on how to track that.
I was trying to track it by checking when a rocket is created by a helicopter, however, I am unable to find a way to confirm if the rocket was created by a helicopter.
Any recommendations would be great.
Thanks.
Tracking rockets fired from helicopter?
Discussion in 'Rust Development' started by Alphawar, Jul 29, 2018.
-
If the rocket gets picked up by OnEntitySpawned, simply do a spherical check (Vis.entities or Physics.OverlapSphere) around it for a helicopter entity and if it is found reassign the values. =)
-
-
The only issue now is that since the last update it looks like something is wrong with some of the rockets the heli launches as they have no author.