dutchkillar 0 Posted May 27, 2007 can you make a unit prone from the beginning? please awbser, thx Share this post Link to post Share on other sites
ManDay 0 Posted May 27, 2007 try to skip a time. or just give it 2 seconds to get prone. put it into the init-line and fadein. when the fade is done the unit is supposed to be on the ground already. Share this post Link to post Share on other sites
456820 0 Posted May 27, 2007 A little bit more detail... this setunitpos "down" should force the soldier to lye down from the very beginning. If you mean you want the soldier to already be lying down as opposed to just about to lye down then you would need to force them to play the lying animation. But the above code in the init field should be what you need. If at any point of the mission you want the unit to stand up use this... soldier1 setunitpos "auto" Hope it helps. Share this post Link to post Share on other sites
ManDay 0 Posted May 27, 2007 Aw you just reminded me on something: You may use the correct SWITCHMOVE-Instruction to turn the Unit into a "lying-unit". Look it up in the Switchmove-Wiki. At the same time you probably will have to use the "setUnitPos"-Cmd as well and after all that you should switchmove to a croush-on-floor-animation so the unit will not stay "stuck" within its current position (cos: using the switchmove with a unit-pos will freeze the unit in this position while using a switchmove with a "animated move" will make the unit move and dispose the move afterwards) got it? just try it out. €dit: Oh, sorry. didnt know you are completely new there tell me whether all this fits your requirements - if not, i will try to explain you what exactly i ment by the switchmove-thing Share this post Link to post Share on other sites
dutchkillar 0 Posted May 27, 2007 thats really great thx so much! btw ive never used any codes like "unit line" and stuff (im new) thx i try it out right now:) Share this post Link to post Share on other sites
dutchkillar 0 Posted May 27, 2007 Aw you just reminded me on something:You may use the correct SWITCHMOVE-Instruction to turn the Unit into a "lying-unit". Look it up in the Switchmove-Wiki. At the same time you probably will have to use the "setUnitPos"-Cmd as well and after all that you should switchmove to a croush-on-floor-animation so the unit will not stay "stuck" within her current position (cos: using the switchmove with a unit-pos will freeze the unit in this position while using a switchmove with a "animated move" will make the unit move and dispose the move afterwards) got it? just try it out. €dit: Oh, sorry. didnt know you are completely new there tell me whether all this fits your requirements - if not, i will try to explain you what exactly i ment by the switchmove-thing waah my head is xploding! (as in, no i dont understand:P) Share this post Link to post Share on other sites
dutchkillar 0 Posted May 27, 2007 what about if i want a unit to sit down? (or salute?) Share this post Link to post Share on other sites
dutchkillar 0 Posted May 27, 2007 A little bit more detail...this setunitpos "down" should force the soldier to lye down from the very beginning. If you mean you want the soldier to already be lying down as opposed to just about to lye down then you would need to force them to play the <span style='color:red'>lying animation</span>. But the above code in the init field should be what you need. If at any point of the mission you want the unit to stand up use this... soldier1 setunitpos "auto" Hope it helps. lying animation? Share this post Link to post Share on other sites
456820 0 Posted May 27, 2007 Well firstly let me say a few things... 1. Welcome to the forums 2. Your signature breaks the sig rules on the forums (may wanna check the rules thread) 3. Please dont double post or in your case quad post - use the forum edit function to edit your original post. 4. PMing people may get their attention on the forums but is quite anoying. But anyway I'll answer the question. So you want some one to lye down? If you want them to lye down from the very beginning of a mission you will need to put hte following code in the soldiers Initialize field also known as the Init field. this setunitpos "down" That will force the unit to lye down when the mission starts again. No need to worry about the lye down animation as its not really what you need. Hope that helps. Share this post Link to post Share on other sites
dutchkillar 0 Posted May 27, 2007 Well firstly let me say a few things...1. Welcome to the forums 2. Your signature breaks the sig rules on the forums (may wanna check the rules thread) 3. Please dont double post or in your case quad post - use the forum edit function to edit your original post. 4. PMing people may get their attention on the forums but is quite anoying. But anyway I'll answer the question. So you want some one to lye down? If you want them to lye down from the very beginning of a mission you will need to put hte following code in the soldiers Initialize field also known as the Init field. this setunitpos "down" That will force the unit to lye down when the mission starts again. No need to worry about the lye down animation as its not really what you need. Hope that helps. sry about the signature... i was just testing things out, ill change it right away what if i want the unit to stand up? or if i want him to salute or sit? Share this post Link to post Share on other sites
bravo 6 0 Posted May 27, 2007 i only see the option: this behaviour "combat" Share this post Link to post Share on other sites
Junker 0 Posted May 27, 2007 Well firstly let me say a few things...1. Welcome to the forums 2. Your signature breaks the sig rules on the forums (may wanna check the rules thread) 3. Please dont double post or in your case quad post - use the forum edit function to edit your original post. 4. PMing people may get their attention on the forums but is quite anoying. But anyway I'll answer the question. So you want some one to lye down? If you want them to lye down from the very beginning of a mission you will need to put hte following code in the soldiers Initialize field also known as the Init field. this setunitpos "down" That will force the unit to lye down when the mission starts again. No need to worry about the lye down animation as its not really what you need. Hope that helps. sry about the signature... i was just testing things out, ill change it right away what if i want the unit to stand up? or if i want him to salute or sit? you wanna look up playmove or switchmove in the Biki. ANIM LIST Share this post Link to post Share on other sites
killerwhale 1 Posted June 13, 2007 I have another question, once you have completed editing and creating your mission in the mission editor and you're ready to move it to your Mission folder, how do you remove the ".Sara"? Is there a code that deletes it? Share this post Link to post Share on other sites