NKato 0 Posted January 17, 2008 I've looked everywhere, although I didn't exactly have the time nor the patience to wrestle with the search engine on this forum. I'm trying to find a good resource that instructs me how to use the scripting code listed at the Bohemia Interactive wiki in a manner that I can comprehend. Basically, what I need to do is put in code for a playable character to have no ammunition or firearms on him. On top of that, for the other character, I need to be able to empty out his inventory and put in a G36 rifle instead of the default equipment. So, yeah. I need the info. Again, my patience is pretty weak right now because I do not have the time to keep shoving the equivalent of a cheese grater in and out of my arse while trying to make sense of code. -NK out. Share this post Link to post Share on other sites
MEDICUS 0 Posted January 17, 2008 Well, i'm not sure if someone is willing to help you after such a post, but best place to ask this is the Editing Forum. Or have a look here. Medicus out Share this post Link to post Share on other sites
BraTTy 0 Posted January 17, 2008 Right, you could ask in the Bis Mission Editing - Scripting topics Also could look on Ofpec, they have better descriptions and samples http://www.ofpec.com/ed_depot/ Share this post Link to post Share on other sites
NKato 0 Posted January 17, 2008 Well,i'm not sure if someone is willing to help you after such a post, but best place to ask this is the Editing Forum. Or have a look here. Medicus out I'm just disgruntled. Sorry. Been a long day for me. Edit: I looked at the second link and I'm seeing a list of commands, sure. That's fine. But what I really need to know is which one does what I described: clears an object's default inventory. That's what I really need, tbh! Share this post Link to post Share on other sites
DaSquade 0 Posted January 18, 2008 Because you do look like a patient fella http://community.bistudio.com/wiki/removeAllWeapons <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeAllWeapons player ->with 'players', 'this' (nameless unit) or 'unitname'. http://community.bistudio.com/wiki/addWeapon <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addWeapon "G36"; ->same 'players', 'this' or 'unitname'. + http://community.bistudio.com/wiki/addMagazine <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addMagazine "G36"; Copy past that line as much as the amount of magazines your unit needs... Kick me in the arse is the magazine don't work, as they can have different name (like G36mag)..but i can't be arsed to search it all for you . Share this post Link to post Share on other sites