I am trying to make it so that when a player enters a wwzone, it fires numerous bullets in various different directions. However I also want the bullets to be fired in series, rather than at once. What I have done is placed several wwzones on top of each other, and defined each one with a different timedelay. I also set each one with "repeat 2" so that they would (in theory) fire continuously.
When I first move into the zone, it works fine and the bullets spread out. But then when they repeat, they all fire at once.
I messed around with DT, timedelay, and also tried giving each zone a unique repeat number. Again, bullets would fire simultaneously after the first volley, no matter what I tried.
I then discovered that, as long as I kept the tank moving within the zone, the bullets would fire continuously. If I stopped moving, they would all fire at once.
Is there some way to make this work for stationary tanks as well? Kind of like R3lax's hix map with the world weapons that shoot at you when you drive into certain areas.
Here's the code I have for the wwzones:
Code: Select all
wwzone
bbox -150 -138 170 190 0 20
zoneweapon IB 20 -130 170 22.5 0 0 - -
repeat 1.2
end
wwzone
bbox -150 -138 170 190 0 20
zoneweapon IB 20 -130 170 22.5 0 2 - -
repeat 1
timedelay .2
end
wwzone
bbox -150 -138 170 190 0 20
zoneweapon IB 20 -130 170 22.5 0 358 - -
timedelay .4
repeat 2
end
wwzone
bbox -150 -138 170 190 0 20
zoneweapon IB 20 -130 170 22.5 0 354 - -
timedelay .6
repeat 1.6
end
wwzone
bbox -150 -138 170 190 0 20
zoneweapon IB 20 -130 170 22.5 0 5 - -
timedelay .8
repeat 1.4
end