Home   Help Search Login Register  

Author Topic: How do u make rpg/at/aa soldier weapon their launcher?  (Read 463 times)

0 Members and 1 Guest are viewing this topic.

Black Death

  • Guest
Hello everybody! 8)

     I just joined this forum and everybody seems real nice.  I am starting to get into making my own missions and there are obviously problems I am going to come across in doing so. ???

     My problem is that I want to have a soldier weapon his aa launcher to be ready for the helicopter that he is going to shoot down.  I am assuming that it is an action command, yet I can't get it to work and I have tried many diffrent combinations.

     What do you guys think?  Can you help me?  :help:

Gooner861

  • Guest
Re:How do u make rpg/at/aa soldier weapon their launcher?
« Reply #1 on: 24 Apr 2004, 15:06:03 »
Im doing taht type of thing in a mission im making now.

All ive dun( dnt know if this is the correct way but its works for me), is in the init field of the aa guy ive put :

this setBehaviour "COMBAT", and wen a helo goes by the aa guy shoots it down. It worked for me, there mayb a more technical way though. ;)

Offline rhysduk

  • Former Staff
  • ****
Re:How do u make rpg/at/aa soldier weapon their launcher?
« Reply #2 on: 24 Apr 2004, 17:19:23 »
Put this in the approprtiate place : - (trigger or init feild of unit)

unit selectWeapon weaponname

unit is the name of the unit you want to weapon his aa launcher.

weaponname is the name of the weapon!

EG rhys selectWeapon "HK"

Weapon Names:

LAWLauncher  
RPGLauncher  
CarlGustavLauncher  
AT4Launcher  
AALauncher  
9K32Launcher  
AT3Launcher  (not sure on this one)

Of course you need to use the one that corresponds with the weapon that your unit has.

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Rokket

  • Guest
Re:How do u make rpg/at/aa soldier weapon their launcher?
« Reply #3 on: 25 Apr 2004, 02:26:52 »
rhys, thanks! I can put this to use myself. "Selectweapon" - never seen before... ( i should have paid more attention to the ComRef guide!)


Black Death

  • Guest
Re:How do u make rpg/at/aa soldier weapon their launcher?
« Reply #4 on: 25 Apr 2004, 19:21:28 »
     Hey, thanks!  I'll be able to use that command with more than just the mission I'm making.  I'm excited ;D