Jump to content
Sign in to follow this  
bobtom

Start a mission with player running?

Recommended Posts

Here's a quick question for you guys.

How would I go about starting a mission with the playable character running?

-Craig

Share this post


Link to post
Share on other sites

Hi! Use playMove

Example:

player playMove "AmovPercMwlkSlowWrflDb" - walk(back)

player playMove "AmovPercMwlkSlowWrflDf" - walk(forward)

player playMove "AmovPercMrunSrasWrflDf" - run(forward)

player playMove "AmovPercMrunSrasWrflDb" - run(back)

About this command:

https://community.bistudio.com/wiki/playMove

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

Edited by Rain^^

Share this post


Link to post
Share on other sites

It worked! Here's the code I ended up using:

[] spawn{  
   while {time < 5} do {
        player playMove "AmovPercMrunSrasWrflDf";        
        sleep 1.3;    
   };
};

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  

×