Serenity424 Posted September 16, 2018 Share Posted September 16, 2018 Hello guys, I'm trying to implement two features, "real" thermonuclear torpedoes and block explosion upon destruction (energy container) But I struggle on two things, first for the torpedoes but is also useful for the other, how can I make explosion impact all the ship in the area, I changed explosionsize of the torpedoes but nothing seems to do it so far :/ And for the block particularly, how can I spawn an explosion (the ones of the torpedoes would allow the "waves" which are pretty nice) ? Thanks guys EDIT : Founds that I should tweak somewhere with the callbacks but I don't really understand how to use it , like there is the lines Entity():registerCallback("onShotHit", "onShotHit") Entity():registerCallback("onCollision", "onShotHit") But I don't find what's done on callback 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