Home   Help Search Login Register  

Author Topic: grenades  (Read 582 times)

0 Members and 2 Guests are viewing this topic.

Offline 456820

  • Contributing Member
  • **
grenades
« on: 01 Dec 2004, 17:11:12 »
how do i have a group of people with points were they will fire grenades from an m203 grenade launcher. like that mission on the resistance campaighn?

Offline Fire-Fox

  • Members
  • *
  • Violence is just a friend walking on the right way
Re:grenades
« Reply #1 on: 01 Dec 2004, 17:50:27 »
I would recommend that you use the following code for each grenade you want to have:

grenade = "grenade" camcreate [getpos x select 0, getpos x select 1, 0]

Insert the names of the variables- I suggest you use gamelogics- for x. Alternatively you could just insert real positions (like [5833.25, 2178.91, 0]) which you

This way you don't actually have the units fire grenades, you create them "out of nowhere" but that should cause the same effect.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:grenades
« Reply #2 on: 01 Dec 2004, 21:50:55 »
you could also use dotarget and dofire

Unit1 dotarget x1
Unit1 dofire x1

Unit2 dotarget x2
Unit2 dofire x2

etc.

once again x's are gamelogics

but i don't think you can have them target gamelogics.
you could probably set a person so they are underground and have the grenadiers target them

Lean Bear

  • Guest
Re:grenades
« Reply #3 on: 01 Dec 2004, 22:00:53 »
Since they'll also fire on objects. Put an invisable H-pad as your marker, and do:

Quote
Unit1 dotarget x1
Unit1 dofire x1

Unit2 dotarget x2
Unit2 dofire x2

etc.

If the gamelogics don't work.