Author Topic: Bomb there script  (Read 842 times)

0 Members and 1 Guest are viewing this topic.

R3lentleszR3t4rd

  • Cheater Apprentice
  • *
  • Posts: 10
    • View Profile
Bomb there script
« 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

[TKC]Wesker

  • ArmA's Most Wanted
  • The Central Committee
  • Master Heckler
  • *
  • Posts: 2209
  • The Illusive Man
    • View Profile
    • TKC Tube
Re: Bomb there script
« Reply #1 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
« Last Edit: September 19, 2007, 02:03:02 pm by [TKC]Wesker »

The Illusive Man

R3lentleszR3t4rd

  • Cheater Apprentice
  • *
  • Posts: 10
    • View Profile
Re: Bomb there script
« Reply #2 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

« Last Edit: September 19, 2007, 11:07:43 pm by R3lentleszR3t4rd »

[TKC]Wesker

  • ArmA's Most Wanted
  • The Central Committee
  • Master Heckler
  • *
  • Posts: 2209
  • The Illusive Man
    • View Profile
    • TKC Tube
Re: Bomb there script
« Reply #3 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.

The Illusive Man

R3lentleszR3t4rd

  • Cheater Apprentice
  • *
  • Posts: 10
    • View Profile
Re: Bomb there script
« Reply #4 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