Home   Help Search Login Register  

Author Topic: Deploy Smoke Grenade...  (Read 531 times)

0 Members and 1 Guest are viewing this topic.

Olphy

  • Guest
Deploy Smoke Grenade...
« on: 08 Apr 2004, 23:31:33 »
Sup.

I'm making a beach landing mission at the moment and what I want to happen is when the landing craft reach a certain point I want a field of white or green Smoke Grenades to go off without the ai having to throw them. How would I go about this?

Cheers again. ;)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Deploy Smoke Grenade...
« Reply #1 on: 09 Apr 2004, 11:45:46 »
you could place a couple of empty markers, the first one named as marker1 and so on..

then in a trigger have
shell1 = "smokeshell" camcreate getmarkerpos "marker1"
and so on..

 ;)
Not all is lost.

Olphy

  • Guest
Re:Deploy Smoke Grenade...
« Reply #2 on: 09 Apr 2004, 13:58:19 »
Hmmm.

Ill give that a try...

Thanks mate!

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:Deploy Smoke Grenade...
« Reply #3 on: 09 Apr 2004, 14:33:26 »
you can do it like this too
unitname fire["throw","smokeshell","smokeshell"]
(unit must has smokeshell first)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Deploy Smoke Grenade...
« Reply #4 on: 09 Apr 2004, 15:14:47 »
Quote
without the ai having to throw them.
 ;D
« Last Edit: 09 Apr 2004, 15:14:54 by Artak »
Not all is lost.

Rappy

  • Guest
Re:Deploy Smoke Grenade...
« Reply #5 on: 09 Apr 2004, 21:50:06 »
plus, AI throws smoke grenades in a very wierd way, you never know where they end up.