| 03-06-2003, 12:31 AM | #1 |
Ok I worked on this for about an hour and a half tonight and I cant get it to work. Im trying to make it so when a unit gets near aother unit it explodes. But... Well lemme explain Tower--- Shoots a missle(ONE AT A TIME) Missle--- Explodes when it touches a target I cant get the missle to explode cuz there doesnt seem to be an event that makes this work(Its hard because there are multiple missles not just one permanent one)! I tried just doing a condition but that didnt work either. Im really confused! HELP and yes I have been using variables and there still isnt a way to do it... As far as I can see |
| 03-06-2003, 12:57 AM | #2 |
y dont u just use the mortar missle. it looks like a missle, and it explodes! hah just what ur looking for eh? BTW it is in the attack art. in the unit editor. |
| 03-06-2003, 08:15 PM | #3 |
U dont seem to understand my problem, Im trying to make it so a unit follows a track and when it touches another unit it explodes. |
| 03-06-2003, 09:27 PM | #4 |
if you want another unit to explode when another comes near it, what does that have to to with a tower shooting an arrow? |
| 03-06-2003, 09:50 PM | #5 |
Well, if you insist on using a unit for the projectile instead of just letting it fire, things get complicated. What you'll have to do is everytime one of these missiles appears store it in a unit array. Then have a periodic event like every 1 second loop through the array and unit group every unit within 200 or so of the picked unit, and then if there are any units, blow the missile and them up. |
| 03-07-2003, 12:07 AM | #6 |
Thats what I did Data, It didnt work... Ill work on it sum more, I guess no one can help me. |
