Thread: Missile code?
View Single Post
Old
Killerzeron
Member
 
Status: Offline
Posts: 19
Join Date: Dec 2014
Location: Mumbai
Default 01-08-2015, 10:53 PM

Quote:
Originally Posted by RavenOfCode View Post
So what I did was remake the world with missiles that hold the firing code in them. So all you have to do is:
1. Make a copy of the missile
2. Make a copy of the missiles smoke
3. Before shooting the missile play the setupSmoke method (I suggest when world starts play the setup method on the missile using the smoke)
4. When you shoot the missile it can be used on any plane/thing, there are alot of parameters that will pop up and ask you what to use, I think they are self explanitory, whatPlane is the plane your using, missileSmoke is the missiles smoke, dropDistance is the distance it will get dropped, ect.

Hope this helps,
RavenOfCode
ah, alright thanks. I am still working on the collision and exploding code

(i have the explosion codes, just need to link the if/else commands with collisions and explosion)
   
Reply With Quote