| 03-02-2006, 02:58 AM | #1 |
Alright, I'm making a weapon system for a marine survival map, but there is a bug when using the "Suppressive Fire" command. It generates double and sometimes triple missiles. Anyone who may be able to help please check out the map and see if you can find the issue, I am stumped. |
| 03-02-2006, 10:35 AM | #2 |
Human error. Happens to everyone. In the trigger Generic Damage Init Copy, add the following condition as well : JASS:Conditions Unit-type of Entering Unit Not Equal to Bullet (+) Unit-type of Entering Unit Not Equal to SupFire The reason this happened was because the unit was created after the trigger event is active, whereas the other units have been preplaced on the map. From this experience, it seems that units created on Map Initialization and preplaced units may trigger events differently. |
| 03-02-2006, 01:11 PM | #3 |
Thats not the error. The dummy for suppressing fire MUST be able to take the attack damage or else the missiles won't fire and suppressing fire will not do anything. |
| 03-02-2006, 01:27 PM | #4 |
Go ahead and try it out. =) I added random fluff creeps and everything works. |
| 03-02-2006, 01:39 PM | #5 |
Aha, I see why what I did screwed up, the unit creation for those dummies is also running on Map Init, ha so stupid. Thx |
