Home   Help Search Login Register  

Author Topic: Triggered bomb  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Triggered bomb
« on: 29 Oct 2004, 09:33:59 »
Hi, I was wondering if it is possible to detonate a satchel with a trigger?

Acually I'd like several satchels to blow...

I haven't been able to find anything on this...

Thanks.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggered bomb
« Reply #1 on: 29 Oct 2004, 10:59:39 »
hmm..dont know about satchels, but you could use other explosives like tank shells and stuff, but it depends on how you are using them.

are they going to be placed by a unit ingame or are they going to be at set points?

pazuzu

  • Guest
Re:Triggered bomb
« Reply #2 on: 29 Oct 2004, 20:31:25 »
Thanks for replying.

I'm making a mission where some pow's & civil hostages are being held.

I want the enemy camp to be rigged with explosives & have some sort of condition like if the leader detects us before we can snuff him he will detonate the explosives killing everyone....Mission failure. Or maybe he sets timer for them to blow giving us a chance to evac hostages & get them to safety...

I just want to be able to trigger the bombs & have them appear to be C-4 or some similar explosive.

I also considered using the CoC nuke & setting it off with another explosive...

Thanks.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggered bomb
« Reply #3 on: 31 Oct 2004, 01:47:44 »
alright i made the script and its attached

to use it you will need game logic units at every spot where there will be an explosion
then have the trigger that will cause the explosion and in the activation field type
Code: [Select]
[[gamelogic1,gamelogic2,etc.], 0] exec "Explode.sqs"where the gamelogic1,2 ect will be replaced with the names of each game logic you want
and the 0 is the delay between each explosion, so the way it is it is instantaneous, but if you make it 2 there will be 2 seconds of space between each explosion

you can also use this for vehicles or men, or anything listed under units in the editor for that matter.
tell me if there are any problems, but it should work just fine, i've tested it though, and it worked fine for me
« Last Edit: 31 Oct 2004, 14:54:59 by Triggerhappy »

pazuzu

  • Guest
Re:Triggered bomb
« Reply #4 on: 31 Oct 2004, 04:11:44 »
I appreciate your help but I cant get this thing to work...

I keep getting errors the way its typed in activation field.

[bomb1, bomb2, bomb3, bomb4],2] exec "Explode.sqs"

Thats how I tried & a few other ways but kept getting errors...

I have all the gamelogics named right...

Am I missing something?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggered bomb
« Reply #5 on: 31 Oct 2004, 14:53:30 »
[bomb1, bomb2, bomb3, bomb4],2] exec "Explode.sqs"

you need 2 brackets at the beginning

so it would be:

Code: [Select]
[[bomb1, bomb2, bomb3, bomb4],2] exec "Explode.sqs"
I fixed my first post, apparently the first bracket wouldn't show up until i put it as a code  ???
« Last Edit: 31 Oct 2004, 14:57:20 by Triggerhappy »

pazuzu

  • Guest
Re:Triggered bomb
« Reply #6 on: 31 Oct 2004, 16:17:19 »
That was the problem.

It works great now.

Thank you very much.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggered bomb
« Reply #7 on: 31 Oct 2004, 18:47:33 »
no problem

pazuzu

  • Guest
Re:Triggered bomb
« Reply #8 on: 01 Nov 2004, 01:03:53 »
I'll put a credit for you in my mission...

You should post this script at ofpec. All I could find there were carbomb scripts & others that just didn't work for what I wanted. I'm sure alot of noobs could use a good basic script like this.

Thanks again

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggered bomb
« Reply #9 on: 01 Nov 2004, 03:36:22 »
beat you to it, it's already pending at the moment
« Last Edit: 01 Nov 2004, 03:36:58 by Triggerhappy »

pazuzu

  • Guest
Re:Triggered bomb
« Reply #10 on: 01 Nov 2004, 05:45:46 »
Good man...