limmy3 0 Posted October 10, 2006 Hello again. A Resistance agent has in the init line <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> R_1 action ["WeaponOnBack"]; R_1 setUnitPos "UP"; R_1 SetBehaviour "CARELESS"; Â R_1 SetCombatMode "Blue"; . Which means that she should start the mission with the gun on the back. The Resistance in friendly to East. Only when she says a dialog she puts the gun on back. Is it possible to put a line in the init.sqs file? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> R_1 action ["WeaponOnBack Has someone any ideas? regads limmy3 Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 10, 2006 To keep weapon on back, units mustn't be setunitpos "up"...Careless or safe behaviour should be enough to start with weapon on back. Share this post Link to post Share on other sites
sim 0 Posted October 11, 2006 As ProfTournesol said all you need to do to get a unit to start with the weapon on their back is in the init field type: this setBehaviour "SAFE". Or if you want to do it from the missions init.sqs type: UnitName setBehaviour "SAFE" sim Share this post Link to post Share on other sites