OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Tim Pink 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
-
use this
thingy="weaponholder" createVehicle [x,z,y];thingy addWeaponCargo ["M16",1];
-
How can u make a handgun for example appear on the table. i think its the same plus some getpos setpos stuff. How?
-
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]