nyaznlink 0 Posted January 17, 2002 Now I know that there are other ways to do this, but this has been bugging me since the first time i've seen it. How do you use            unit action action to "weapon" and/or reload ("magazine") a weapon. In lustypooh's "Unofficial Operation Flashpoint Command Reference Manual" it says that "weapon" and "magazine" (weapons a weapon and reloads a weapon respectively) are action types. In the newest OPF scripting referemce it tells you: unit action action Operand types:   unit: Object   action: Array Type of returned value:   None Description:   Make unit to peform action. Format of action may be [type, target, param1, param2, param3]. Only type is required, target defaults to unit, param1, param2, param3 are type specific. Example:   soldierOne action ["eject", vehicle soldierOne] What do i do to make a unit weapon a weapon using the action command? this has really been bugging me and i've looked everywhere for answers. I would really appreciate it if anyone can help me out and put my mind at ease. THANK YOU Share this post Link to post Share on other sites
Damage Inc 0 Posted January 17, 2002 What does "weapon a weapon" mean? Share this post Link to post Share on other sites
Rastavovich 0 Posted January 17, 2002 If I understood you correctly you wanna force a specific unit to use a specific weapon. To do so you should use the "selectweapon"-command. Correct syntax is: unitname selectweapon "weaponname" ie: soldier1 selectweapon "lawlauncher" U need at least version 1.27 for that command. Hope it helps. Share this post Link to post Share on other sites
nyaznlink 0 Posted January 17, 2002 Thanks for the input, but i already knew that. it's just that i wanna know how to use the action command. I mean if its available it must do something. Thanks anyway, any help is appreciated. Share this post Link to post Share on other sites