Jump to content
Sign in to follow this  
Mondi

Scripting Issue

Recommended Posts

OK, Here is my issue, i've tried reading how to script guides and they just seem to damn complicated.

All i want is a unit to do a press up, what do i do?

Share this post


Link to post
Share on other sites

http://community.bistudio.com/wiki/switchMove

http://community.bistudio.com/wiki/Armed_Assault:_Moves_List

Here how I'd do it to test:

Place an AI soldier on the map and name him push

Create a waypoint for the AI soldier and then write in the onact:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">push switchmove "AmovPercMstpSnonWnonDnon_exercisePushup";

Hope this helps

You can also do this in triggers, juts make sure the names are the same and activation sides are correct, if you want it to be players, simply put

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player switchmove "the_animation_you_want";

Remember, AI wont switchmove or playmove on a player activation.

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  

×