GLOBAL WAC is GAME.WAC (executed first)
MISSION WAC is missionname.WAC (executed second)
EXAMPLE
Files Needed For: mission_01.mis
mission_01.bms
mission_01.wac
Extra Files
GAME.WAC - loads wac instructions with every mission
SERVER.WAC - loads wac instructions for multiplayer missions
Maybe your problem is here? if ssnarea(10000,4) then
if ssnarea(10000,4) then
ammoarea AMMO_60MM_MORTAR(1)
ammoarea ammo_rocket(2)
ammoarea AMMO_60MM_MORTAR(3)
ammoarea ammo_T80Round(4)
ammoarea AMMO_60MM_MORTAR(5)
ammoarea AMMO_60MM_MORTAR(6)
ammoarea ammo_rocket(7)
ammoarea AMMO_60MM_MORTAR(8)
ammoarea ammo_T80Round(9)
ammoarea AMMO_60MM_MORTAR(10)
endif
AFAIK - while the player is in area 4 the bombing will continue non-stop in area 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 and won't stop until the player leaves area 4 or the mission crashes.
Check: Are your barrels in one of these areas?
Check: Do you need all of these areas at once?
Use never() then to trigger only once
or
Try using a set of variables to control a dornd or loop command
//...[start - variable area 4]
;
if ssnarea(10000,4) then
set(v4,1)
else
set(v4,0)
endif
;
if eq(v4,1) then
dornd
ammoarea AMMO_60MM_MORTAR(1)
ammoarea ammo_rocket(2)
ammoarea AMMO_60MM_MORTAR(3)
ammoarea ammo_T80Round(4)
ammoarea AMMO_60MM_MORTAR(5)
ammoarea AMMO_60MM_MORTAR(6)
ammoarea ammo_rocket(7)
ammoarea AMMO_60MM_MORTAR(8)
ammoarea ammo_T80Round(9)
ammoarea AMMO_60MM_MORTAR(10)
enddo
endif
;
//...[end - variable area 4]
|