TAW_Yonose 11 Posted March 3, 2014 Im making a mission where NATO goes undercover and dressed up as civilian this is what i have in the init of each player, the texts that are red dont work, what should i change? removebackpack this; removeheadgear this; removeuniform this; removevest this; removemagazine ; [color="#FF0000"]removeweapon "arifle_MX_F"; removeitem nvg; assignitem "U_C_Commoner1_1";[/color] Thank you Share this post Link to post Share on other sites
Harzach 2517 Posted March 3, 2014 removeBackpack this; removeHeadgear this; removeUniform this; removeVest this; this removeMagazine ; // what are you trying to do here? this removeWeapon "arifle_MX_F"; this unassignItem "NVGoggles"; // best practice to unassign first this removeItem "NVGoggles"; this assignItem "U_C_Commoner1_1"; Share this post Link to post Share on other sites
na_palm 19 Posted March 3, 2014 removeallweapons this; removeAllAssignedItems this; removeGoggles this; removeHeadgear this; removeVest this; removeUniform this; removeBackpack this; this will strip the unit off, of all their belongings. Share this post Link to post Share on other sites
Harzach 2517 Posted March 3, 2014 removeallweapons this; removeAllAssignedItems this; removeGoggles this; removeHeadgear this; removeVest this; removeUniform this; removeBackpack this; this will strip the unit off, of all their belongings. Probably the best route to go, get rid of everything then add back exactly what you want. Share this post Link to post Share on other sites
TAW_Yonose 11 Posted March 3, 2014 yea i got rid of everything expect NVG and MX Rifle, and i skipped the civilian clothing and added something else Share this post Link to post Share on other sites
na_palm 19 Posted March 3, 2014 (edited) NVG's should get removed through "removeAllAssignedItems this;" if thats not the case try this one: { this unlinkItem _x; }forEach ["NVGoggles","NVGoggles_OPFOR","NVGoggles_INDEP"]; greetings Na_Palm Edited March 3, 2014 by Na_Palm typo Share this post Link to post Share on other sites
D3VL3R 1 Posted March 4, 2014 (edited) can be deleted... Edited March 4, 2014 by D3VL3R it is AI, not player... Share this post Link to post Share on other sites