Jump to content
Sign in to follow this  
dutchkillar

mission editor question:

Recommended Posts

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

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

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 sad_o.gif 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

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:)

pistols.gifsmile_o.gif

Share this post


Link to post
Share on other sites
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 sad_o.gif 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
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? huh.gif

Share this post


Link to post
Share on other sites

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
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

moving to ME&Scripting

Share this post


Link to post
Share on other sites
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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×