Home   Help Search Login Register  

Author Topic: Generating satchel charges...  (Read 737 times)

0 Members and 2 Guests are viewing this topic.

Egwal

  • Guest
Generating satchel charges...
« on: 19 Apr 2003, 13:29:16 »
How can I generate (I mean so thay are on their place when the mission starts) 3 satchel charges to a town and get them to blow up at the SAME TIME for example 5 minutes after the mission starts.
I know it has to do somethin with the camcreate command, but im not that good in mission editing yet ;)

Thanks

EgWal

titan

  • Guest
Re:Generating satchel charges...
« Reply #1 on: 19 Apr 2003, 14:13:47 »
sat = "pipebomb" camcreate getpos here

(this will create a charge at a trigger or object called here)

if u want to create it at a marker then its simpily...

sat = "pipebomb" camcreate getmarkerpos "here"


im not quite sure how u cld blow it up, try putting a trigger with all the times at 300 (5 mins in secs) and in the on activation field put...


sat setdammage 1



hope this helps!

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Generating satchel charges...
« Reply #2 on: 19 Apr 2003, 14:24:12 »
mysatchel1="pipebomb" camcreate "format position"
mysatchel2="pipebomb" camcreate "format position"
mysatchel3="pipebomb" camcreate "format position"
I don't think you can blow them up afterwards (mysatchel1 doesn't work, Titan), so here's a way round : create a trigger with "true" in the condition field, put 300 in max, min and med, and this in the activation field :
shell1="shell73" camcreate getpos mysatchel1;
shell3="shell73" camcreate getpos mysatchel2;
shell3="shell73" camcreate getpos mysatchel3
You'll get a real big explosion ;) as this will also blow the satchel charges up.
Or you can make a unit put charges where you want, and then order it to touch them off :
_myunit  fire ["put","pipebomb"] in the activation field of your WP
and, five minutes later (don't leave that unit too close !!!)
_myunit action ["TOUCHOFF"], for instance in another WP.
« Last Edit: 19 Apr 2003, 14:26:11 by Igor Drukov »

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Generating satchel charges...
« Reply #3 on: 19 Apr 2003, 14:28:37 »
Actually, shell1="shell73" camcreate getpos mysatchel1 won't destroy the satchel, so if you really don't want to see it, simply add :
DeleteVehicle  mysatchel1


titan

  • Guest
Re:Generating satchel charges...
« Reply #4 on: 19 Apr 2003, 14:36:43 »
just thinking, in min, mid and max put 270 and in the On Activation put

maysat1 = "timebomb" camcreate getpos here


that was it will create a sat charge there after 4mins 30secs then the sat will blow up 30 secs l8r.

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Generating satchel charges...
« Reply #5 on: 19 Apr 2003, 14:43:00 »
Yeah that works, it blows up after about 20 seconds. I guess EgWal will still have to camcreate and deletevehicle the satchel charges if he wants to see them at the beginning...
« Last Edit: 19 Apr 2003, 14:43:25 by Igor Drukov »

titan

  • Guest
Re:Generating satchel charges...
« Reply #6 on: 19 Apr 2003, 14:46:54 »
you cld camcreate normal pipebombs at the start, then at 4.30 mins camcreate timebombs on top of the pipebombs.