OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Subware on 11 Jan 2003, 14:39:07

Title: Individual Soldiers
Post by: Subware on 11 Jan 2003, 14:39:07
Hey, I have a question. I am using blackops in a mission but do not want their guns (xms and mp5). So I put in the Initialization: RemoveAllWeapons this, I then added a "HKG37" and put the addmagazine code first so the gun is loaded at start up but he has only one magazine how can I max out his available slots?  this addmagazine ["HKG37mag", 6] only works in addmagazinecargo.
 
Title: Re:Individual Soldiers
Post by: Silver Fox on 11 Jan 2003, 15:07:56
just put it a number of times like:

man addmagazine "HKG37Mag";man addmagazine "HKG37Mag";man addmagazine "HKG37Mag";man addmagazine "HKG37Mag";man addmagazine "HKG37Mag";man addweapon "HKG37"

That will give him five mags!! And his G37!!

 :P
Title: Re:Individual Soldiers
Post by: Subware on 11 Jan 2003, 16:10:10
Wicked thanks for your help!!
(thank god for Ctrl c and Ctrl v).
Title: Re:Individual Soldiers
Post by: Silver Fox on 11 Jan 2003, 18:12:33
No problem mate!

My ctrl and c and v are worn out LOL

 ;D
Title: Re:Individual Soldiers
Post by: Sui on 12 Jan 2003, 04:20:19
Welcome to the forums, Subware

If your problem is solved, could you please hit the Solve button (it should be right down the bottom of the thread) so our FAQ guys know your question is answered.
This way everyone can benefit from your question/answer

Thanks ;)