Jump to content
Sign in to follow this  
dr. molesto

Quick Question

Recommended Posts

Hi, I am making a mission which is actually quite extensive but I am new at this. I've been editing as I go along, finding out new things, etc, and so far it's been going fine and looks rather good. My question is this. I need an officer to brief the player on his upcoming mission. He would have to carry out a number of the 'FX' standing command things in a series... for this, would I have to make some kind of extra-game script activated by a trigger? or is there some other way?

Share this post


Link to post
Share on other sites

Hi molesto,

Well, you don't need *really* a script, but it would make life a lot easier. In a script you can put all the actions in a row rather than in a little activation box.

To "do" animations, you have to use the switchmove or playmove command, and there is a list of animations available in the unnofficial command reference. I give some examples :

a7 playmove "EffectStandTalk"

this plays an animation of someone talking, and :

nameofunit switchmove "FXStandSurUniv"

to switch to a "captured" position.

You can use all animations/positions on the activation boxes of a trigger or waypoint. Init fields do not seem to work (to me at least)

If you want to learn more about scripting, try the faq i maintain, it should cover some basic stuff. Here is a basic example of an animation + talk script :

;start of script

~4.5

pilot sideRadio "pilot1"

~2

pilot sideRadio "pilot2"

;end of script

As you can see, the "pilot1" is the first sentence he speaks, and "pilot2" the second, but there is a wait command in between of 2 seconds, so he won't blurp everything a the same time smile.gif

Hope this helps,

Bloodmixer

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  

×