Quantcast
Channel: Answers by "2d4Games"
Viewing all articles
Browse latest Browse all 24

Answer by 2d4Games

$
0
0
Inside a script file, you could make a setting that will change how the character movement is calculated. var gameType = 0; //0 for Parkour-Shooter //1 for Shooter-Sneak //2 for Sneak-Parkour switch (gameType){ case 0: //put Parkour-Shooter movement code here case 1: //put Shooter-Sneak movement code here case 2: //but Sneak-Parkour movement code here } Depending on how you want to change the movement type, you could either set the variable to change when the player presses a key, selects an option in a menu, or you can set them in scripts if you don't want the player to have a choice between the movement modes.

Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>