NoFoodAfterMidnight Posted August 11, 2020 Share Posted August 11, 2020 (edited) Specifically, I'm looking to add a script to a torpedo when it's created, but to do that I need the entityId of the torpedo, not just it's torpedoId that the callback OnTorpedoLaunched() gives. Entity(torpedoId) doesn't return the correct Entity. Kinda solved it by checking for the entity.type Enum using OnEntityCreated() instead, if it checks out as Torpedo it returns the correct value. However it appears torpedoes can't be given scripts, I guess. Edited August 11, 2020 by NoFoodAfterMidnight Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now