Hello. I am trying to figure out how to best make mob to be taking turns. I am trying to make it flexible for different amount of players in a party system. So if there's 2 in a party and 2 enemies it will be like: player, enemy, player 2, enemy 2. If its 3 players and 2 enemies it would be like p,e,p2,e2,p3,p. But how do I do that? And what would be the best way? Make a personal turn and a global turn? How do I make it flexible for several players?
|
Aug 25 2012, 7:03 am
|
|
Would the developer help section not be more appropriate for the question?
|
You can have a list() containing the player's turn. Ex:
var |
http://www.byond.com/developer/Albro1/TBSFrameLib
You can either use the libary itself, or use it as a basis for your own. I recomend the first previous until gaining more talent in the programming area. |