Home   Help Search Login Register  

Author Topic: destroying buildings through ID  (Read 605 times)

0 Members and 1 Guest are viewing this topic.

Dagon

  • Guest
destroying buildings through ID
« on: 17 Sep 2004, 01:23:37 »
hey, for my intro mission to the campaign i'm making, I want all of montignac to be destroyed. I've got the ID numbers of the buildings, but doing (IDno) setdammage 1 just gives me an invalid syntax error.

What's the command to destroy IDs?

Offline shinraiden

  • Members
  • *
  • kiite, mite, katta
Re:destroying buildings through ID
« Reply #1 on: 17 Sep 2004, 01:33:45 »
You don't.

Just camcreate some bombs on the spot. One easy way would be to make a bunch of named markers, and then for the camcreate pos getpos the specific markers.

Dagon

  • Guest
Re:destroying buildings through ID
« Reply #2 on: 17 Sep 2004, 01:35:57 »
do you know where I can get an example of how to do that, then?

Offline shinraiden

  • Members
  • *
  • kiite, mite, katta
Re:destroying buildings through ID
« Reply #3 on: 17 Sep 2004, 01:46:23 »
_flare1="flare" camcreate[getpos dude select 0, getpos dude select 1,50]

_Bomb="heat125" camcreate(getpos plane);

valid flares are:

flare                             flarered                          flaregreen

some valid bombs:

heat73                         heat105                          heat125
shell125                       shell120                          "RPG"
"LAW"
"Ch29T"                           "Zuni"                                 "Maverick"
"LaserGuidedBomb"


Check the BIS comref. This is something that the ECP console is invaluable for too.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:destroying buildings through ID
« Reply #4 on: 17 Sep 2004, 07:13:16 »
(object XXX) setdammage 1
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline shinraiden

  • Members
  • *
  • kiite, mite, katta
Re:destroying buildings through ID
« Reply #5 on: 17 Sep 2004, 08:09:36 »
For wrp-placed objects? I was under the impresion you couldn't do that... but it wouldn't be the first time I've been a bit off my rocker.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:destroying buildings through ID
« Reply #6 on: 17 Sep 2004, 10:32:14 »
General Barron is correct.

Although LGBs are probably more fun.   ;D
Plenty of reviewed ArmA missions for you to play

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:destroying buildings through ID
« Reply #7 on: 17 Sep 2004, 12:59:44 »
Quote
For wrp-placed objects? I was under the impresion you couldn't do that... but it wouldn't be the first time I've been a bit off my rocker.
You can destroy them (setDamage) but not move (setPos) or remove (deleteVehicle) them...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.