hey,
I have made a beach mape including bots but I don't know how to add MULTIPLE artillery explosions on the beach. I have read a tutorial from 'nemesis' but it just won't work. Can somebody tell in dept how to add several explosion + script. Thanks in advance
omaha explosions
Moderator: Moderators
omaha explosions
van Wassem entertainment© - entertainment on a degreement never imagined
You could add lots of script origins to the beach all with the same targetname like key: $targetname Value: mortar then make a thread call it lets say mortars_fire like this
main:
level waittill spawn
thread mortars_fire
...
...
end
mortars_fire:
// random integer starts at 0 but targetname array starts at 1
local.mortar = randomint( $mortar.size)+1
// default for global/model.scr is models/emitters/explosion_mine
exec global/model.scr $mortar[local.mortar].origin
wait 6
goto mortars_fire
end
main:
level waittill spawn
thread mortars_fire
...
...
end
mortars_fire:
// random integer starts at 0 but targetname array starts at 1
local.mortar = randomint( $mortar.size)+1
// default for global/model.scr is models/emitters/explosion_mine
exec global/model.scr $mortar[local.mortar].origin
wait 6
goto mortars_fire
end
Send a nickel!
Wish I had a nickel for everytime that question was asked! Here is a tutorial map/script that shows how to add random explosions to your map.
http://pages.sbcglobal.net/tltrude/Temp ... l_fire.zip

You can just copy and patse, but it would be better to study the .map file and the script to find out how they work!
Good luck!
Ps: If you send the (imaginary) nickel to bdboder, I'm sure he could come up with something much more fun, and new to mohaa!
http://pages.sbcglobal.net/tltrude/Temp ... l_fire.zip

You can just copy and patse, but it would be better to study the .map file and the script to find out how they work!
Good luck!
Ps: If you send the (imaginary) nickel to bdboder, I'm sure he could come up with something much more fun, and new to mohaa!
