Home   Help Search Login Register  

Author Topic: LOADMAGAZINE  (Read 903 times)

0 Members and 1 Guest are viewing this topic.

Offline Surdus Priest

  • Members
  • *
  • Only I can Forgive You!
LOADMAGAZINE
« on: 03 Dec 2007, 20:54:36 »
["LOADMAGAZINE", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle name>]

can someone please explain how this command works?  i dont understand the target, mag creator, and ID.

what i want it to do is force the player to reload a weapon.
Campaigns are hard, I'll stick with scripting for now!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: LOADMAGAZINE
« Reply #1 on: 04 Dec 2007, 12:01:34 »
Magazine ID should be the Magazine Classname

Probably magazine creator is the magazine owner (the soldier? an ammo box?) and the target is the soldier that will load the magazine. you might try with soldier1 soldier1 for both, target and creator.

Offline Surdus Priest

  • Members
  • *
  • Only I can Forgive You!
Re: LOADMAGAZINE
« Reply #2 on: 04 Dec 2007, 13:10:54 »
player action ["LOADMAGAZINE", player, player, "30Rnd_556x45_G36", "g36a", "g36a"]

i tried that but i still have 1 missing element.
Campaigns are hard, I'll stick with scripting for now!