OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: marcus3 on 12 Mar 2005, 22:42:51
-
is there a way to put a gun on a table or something?
i saw this in some screen shot but cant find it now.
-
Yes:
1. First create a weapon holder (gun = "WeaponHolder" createvehicle [getpos table select 0, getpos table select 0, .75])
2. Add the weapon to the weapon holder (gun addmagazinecargo ["M16",1]; gun addweaponcargo ["M16",1]
3. Thats it there is no 3
-
Someone has also made a tutorial from that.
It is in the editors depot.
Click here (http://www.ofpec.com/includes/download2.php?id=194) to download it.
Maybe you could learn from that tutorial?
Good Luck!
-
ok thanks