Home   Help Search Login Register  

Author Topic: finding explosions  (Read 1065 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
finding explosions
« on: 09 Jun 2005, 04:04:08 »
how would I find an explosion for a script and also find what kind of bomb made it(shell105,grenade,ect..)

thanks in advance

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:finding explosions
« Reply #1 on: 09 Jun 2005, 07:47:55 »
Not quite sure what you mean.  Why would you not just camcreate a few different types of explosives and see which you prefer?

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:finding explosions
« Reply #2 on: 09 Jun 2005, 09:59:36 »
lol
urp!

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:finding explosions
« Reply #3 on: 09 Jun 2005, 17:34:17 »
A heck of alot of event handlers.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline 456820

  • Contributing Member
  • **
Re:finding explosions
« Reply #4 on: 09 Jun 2005, 18:12:38 »
how about expanding on your question
Quote
how would I find an explosion for a script

do you mean what kind of explosion or even finding the ecplosion on the map like nearest object or what ever im not sure everyone knows what you mean
and also
Quote
and also find what kind of bomb made it(shell105,grenade,ect..)
well wouldnt you know if you just created it ? ??? ???
or do you mean grab an explosion with a command then find out what kind of explosion it was and carry on from there ??

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:finding explosions
« Reply #5 on: 09 Jun 2005, 18:49:36 »
no i mean like, have a trigger, and detect if there are any explosions in it, and also find what type they are for use in a script.

like if a grenade went off it would give the script, the exact pos the grenade exploded, and also that it was a grenade

DBR_ONIX

  • Guest
Re:finding explosions
« Reply #6 on: 10 Jun 2005, 15:00:19 »
Fired event handler on all units, I suppose
Then check the _this select 2 or 3, if it's in an array of explosive stuff (Hand Greandes, for example), track the object till it's destroyed, then theres your explosion..
Not very CPU-freidnly, but only way I can think of just now..
- Ben