Home   Help Search Login Register  

Author Topic: Making weapons appear on the ground  (Read 564 times)

0 Members and 1 Guest are viewing this topic.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
Making weapons appear on the ground
« on: 17 May 2003, 12:23:23 »
hi

How do u make weapons appear on the ground?, eg all the AT launchers scatered on the ground in Suicides Facile ground mission.

Tim
"Whoever said nothing is impossible, never tried slamming a revolving door."

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Making weapons appear on the ground
« Reply #1 on: 17 May 2003, 14:56:17 »
use this
 
thingy="weaponholder" createVehicle [x,z,y];thingy addWeaponCargo ["M16",1];



Egwal

  • Guest
Re:Making weapons appear on the ground
« Reply #2 on: 17 May 2003, 15:45:15 »
How can u make a handgun for example appear on the table. i think its the same plus some getpos setpos stuff. How?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Making weapons appear on the ground
« Reply #3 on: 17 May 2003, 17:46:17 »
that would be something like this

thingy ="weaponholder" createVehicle [0,0,0];thingy addWeaponCargo ["Beretta",1];thingy setpos [(getpos table select 0), (getpos table select 1),0.97]