Thread: Missile code?
View Single Post
Sorry I should have been more clear
Old
RavenOfCode
Senior Member
 
RavenOfCode's Avatar
 
Status: Offline
Posts: 408
Join Date: Oct 2013
Location: Northern Virginia
Default Sorry I should have been more clear - 01-08-2015, 08:38 AM

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
Attached Files
File Type: a2w Working Missle.a2w (1.27 MB, 3 views)


Stuff + Other Stuff + Different Other Stuff = Things :)

My best Alice game:

Clash of the Cubes (an arena fighting game):
http://www.alice.org/community/showthread.php?t=10738&highlight=game
   
Reply With Quote