Home   Help Search Login Register  

Author Topic: throw a grenade and run away  (Read 890 times)

0 Members and 1 Guest are viewing this topic.

Offline spiffalski

  • Members
  • *
  • Rokydny
throw a grenade and run away
« on: 06 Jun 2003, 17:36:02 »
I'd like to run up to a building or car and lob in a grenade and a few seconds later as I walk/run away the building or car explodes.
Is it possible to do this with a timer but not in a satchel type manual detonation?

Ideally a rolling would be good but I guess thats impossible.
Since I know nothing about making new weapons I was thinking a script could be used that launches an object (some small harmless object that already exists) at a set velocity in the direction of the player which after a few seconds is removed and replaced by an exploding grenade.

Or perhaps its possible to throw a satchel charge.

In a nutshell im confused where to go from here...
One persons problem is someone else's solution.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:throw a grenade and run away
« Reply #1 on: 06 Jun 2003, 20:20:38 »
You might be able to do it by "catching" the grenade shortly after its thrown with a nearestObject command ... then before it hits the ground deleting it and replacing it with a satchel charge which you can then detonate at your leisure.

Don't ask me how to do all this, that's just a sketch of how you might be able to get it to work.
Plenty of reviewed ArmA missions for you to play