OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: -Jenkins on 23 Jul 2004, 13:10:57
-
Hey,
I searched on this a few times, can't find anything.
How do you make an AI soldier hold an RPG, and keep it up? Is it possible? Thanks.
EDIT: I found out how to do it
this switchmove "CrouchToWeapon"
But the AI doesn't keep the RPG to shoudler, he puts it on his back right after he gets it up.
-
Try unit selectweapon "whateverthenameoftheRPGis"
not 100% but believe that one works.
-Tet
-
Yeah,
this selectweapon "RPGLauncher"
Or, remove all they're other weapons..?
- Ben
-
If you put an RPG soldier onto 'Combat' mode they usually hold the Launchers (this setBehaviour "combat"). You could also fiddle around with Unit Positions (eg Standing, Auto or Prone; this setUnitPos "UP"/"DOWN"/"AUTO").
Hope this helps a little! ::)