TKC-Community

Hacking and Art => Armed Assault 3 => Armed Assault => Topic started by: R3lentleszR3t4rd on September 19, 2007, 06:45:39 am

Title: Bomb there script
Post by: R3lentleszR3t4rd on September 19, 2007, 06:45:39 am
hey me again, ive been using the bomb there script and it works marvelously. i have edited the damage script in a a weapons file so it is basicly a nuke killing everthing at that level for 4 kms.my question is, is there any way to have the GBU explode above ground lvl say 50m.

the script is

TitleText [format["Press Map"], "PLAIN DOWN"]
~2
TitleText [format[" "], "PLAIN DOWN"]

onMapSingleClick """Bo_GBU12_LGB"" createvehicle [_pos select 0, _pos select 1, (_pos select 2)+200]; onMapSingleClick """" "
exit

if anyone could help
BTW the SCP works wonders i love it
Title: Re: Bomb there script
Post by: [TKC]Wesker on September 19, 2007, 01:52:33 pm
Is that 200m in the air?
If it is then all you need to do is blow it up.
Add setdamage 1 to that script to damage the bomb the moment it spawns  :icon_thumbsup
Title: Re: Bomb there script
Post by: R3lentleszR3t4rd on September 19, 2007, 10:48:26 pm
oh wow thanks, that works wonders, i wiped out all of corazol in a beserk map all with one click of the mouse. icon_laugh

Title: Re: Bomb there script
Post by: [TKC]Wesker on September 19, 2007, 10:57:25 pm
oh wow thanks, that works wonders, i wiped out all of corazol in a beserk map all with one click of the mouse. :icon_laugh
Awesome!
End of the world stuff going on here.
Title: Re: Bomb there script
Post by: R3lentleszR3t4rd on September 19, 2007, 11:07:27 pm
edit : thought i had it working but i didnt package the pbo turns out that was the old one...

one minior problem it says that the script is missing a [ bracket but im not sure where to put it
the script is i just added the dmg. is there anyway for the bomb to fall a few m from say 200 to 150 or 100 just so i can get multiple bombs going off (more time for me to click)

TitleText [format["Press Map"], "PLAIN DOWN"]
~2
TitleText [format[" "], "PLAIN DOWN"]

onMapSingleClick """Bo_GBU12_LGB"" createvehicle [_pos select 0, _pos select 1, (_pos select 2)+150, setdamage 1]; onMapSingleClick """" "
exit


wow i feel like an idiot lol