OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: freaky on 24 May 2003, 07:02:37
-
how do i place addons (guns) intoammo crates with magazines
give details.. which crate do i use the exact line and what to type in
thanks guys
also how do i remove all weapons from units at the start of a game
-
check the command reference for how to remove weapons from units and how to put stuff into crates. To get the name of the weapon from an addon, you have 2 options -
a) read the readme for the addon, it should be in there
b) set a trigger to radio alpha, on activation
hint format ((weapons <unitname>) select 0)
then make your soldier with the addon with the name you chose.
Something like that, I might have the syntax wrong but I'm sure someone will correct me if it is.
-
You can use any crate.
The remove weapon/ammo commands all start with "remove..." - look them up in the online command reference and use the ones you need. The adding ones start with "add..."