Home   Help Search Login Register  

Author Topic: Weapons on ground  (Read 1549 times)

0 Members and 1 Guest are viewing this topic.

Master Chief

  • Guest
Weapons on ground
« on: 04 Sep 2002, 16:26:29 »
Hi everyone,

For Resistance, does anyone know how to put an M16 or something on a specific point on the map in the editor?

Please help.

 :) :)
« Last Edit: 04 Sep 2002, 16:27:09 by Master Chief »

Gameer_77

  • Guest
Re:Weapons on ground
« Reply #1 on: 04 Sep 2002, 18:23:05 »
Ok, do you just want a weapon on the ground or someone to "drop" it?

Here:

Quote

Is it possible to place a single weapon somewhere in the map?


Use createVehicle to create an object of following type:

"SecondaryWeaponHolder" to hold secondary weapon (LAW...)
"WeaponHolder" to hold primary weapon, handgun or magazine

This holder is empty by default and it acts like an ammo crate - you can use addMagazineCargo and addWeaponCargo functions to add weapon or magazine to it.


To drop magazine use:

soldier action ["drop magazine",soldier,0,0,"m16"]

To drop weapon use:

soldier action ["drop weapon",soldier,0,0,"m16"]

From Suma (I think)

 8)PEACE

Offline KTottE

  • Former Staff
  • ****
Re:Weapons on ground
« Reply #2 on: 04 Sep 2002, 18:36:39 »
Yes, that was from Suma ;D
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Chomps

  • Guest
Re:Weapons on ground
« Reply #3 on: 04 Sep 2002, 21:27:44 »
I was the one who asked him, prompting him to post that, don't I get any credit?  ;D

Gameer_77

  • Guest
Re:Weapons on ground
« Reply #4 on: 04 Sep 2002, 22:16:06 »
Sigh...Fine, Everyone: Chomps was the one who asked the question therefore all credit to him.

Happy?  :-\

 8) PEACE
« Last Edit: 05 Sep 2002, 21:47:03 by Gameer_77 »

Chomps

  • Guest
Re:Weapons on ground
« Reply #5 on: 05 Sep 2002, 00:52:02 »
Sigh...Fine, Everyone: Chomps was the one who asked the question therefore all credit to him.

Happy? :\

 8) PEACE

That's all I ask.  ;D