Jump to content
Sign in to follow this  
smoke52

updating my mission to v108

Recommended Posts

1. how do i stop a guy from saluting after using the unit1 action ["salute" unit1] command?

2. how can i make a guy use his binoculars for a long time (maybe 15 secs). im using the selectweapon command and he does it for 6-8 seconds but i need it longer for my intro.

Share this post


Link to post
Share on other sites

You should try and and Use a PlayMove command for the actions. There is a full list of available moves on the wiki.

For your Binoc prob, you could try looping the command. But this may cause him to lower them and lift them at the start and end of every command.

Cheers

GC

Share this post


Link to post
Share on other sites

yeah i thought i would have to use that playmove :\

darn, its for an intro so i cant have him doing that. on occasion with the selectweapon he does exactly that, raising and lowering the binocs...im thinking maybe to use a playmove animation, but how do i get the binocs into his hands when using playmove or switchmove?

i have a new question:

in my other SP mission you are inserted by boat. how could i make it so the player can choose where to land the boat before the mission starts?? if thats possible?

Share this post


Link to post
Share on other sites

Try using disableAI "ANIM" to keep the unit in the binocular animation. Here's what I'd do:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit disableAI "ANIM"; unit playMove "AwopPercMstpSoptWbinDnon_rfl"; unit selectWeapon "Binocular"

Then make sure to use enableAI "ANIM" to allow him to move again when you're done.

Share this post


Link to post
Share on other sites

thanks kyle that worked just fine. it doesnt matter about getting him out of the animation since hes just a side actor which gets deleted after the next camera position wink_o.gif

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  

×