I can get the first one to work, I can't get the 2nd one to work, Can any one tell me why
//
if ssnarea(10000,1) and never() then
text("This is a Rocket Attack")
endif
if ssnarea(10000,2) and never() then
text("This is a Motar Attack")
endif
if ssnarea(10000,1) then
// this one DOES work
if random 4 then
ammo2tgt(ammo_ROCKET,1)
endif
if eq(rnd, 2) then
ammo2tgt(ammo_ROCKET,2)
endif
if eq(rnd, 3) then
ammo2tgt(ammo_ROCKET,3)
endif
if eq(rnd, 4) then
ammo2tgt(ammo_ROCKET,4)
endif
endif
if ssnarea(10000,2) then
// This one doesn't work
if random 4 then
ammo2tgt(ammo_ai_motar,5)
endif
if eq(rnd, 2) then
ammo2tgt(ammo_ai_motar,6)
endif
if eq(rnd, 3) then
ammo2tgt(ammo_ai_motar,7)
endif
if eq(rnd, 4) then
ammo2tgt(ammo_ai_motar,8)
endif
endif bullet magnet - 9-17-2007 at 05:10 AM
You spelled mortar wrongBigjoe11a - 9-17-2007 at 11:38 AM
Quote:
Originally posted by bullet magnet
You spelled mortar wrong
oop's
Deicide~BoD~ - 3-1-2008 at 07:04 AM
also I've found if you have the mortars to start when an event is triggered they work great.. like this
if event(#) and never() then
if Random 5 then
ammo2tgt(ammo_AI_MORTAR,1)
endif