I had a question about this post your CTB post from about august last year (If you are having trouble finding it, I just reblogged it too). Now this was awhile ago, but you are intending this to be variables on the members themselves, yes? I think I follow but I am just trying to add it up. BTW this helped a lot. :) Any thoughts into how might do a portrait bar similar to FFX? Like you can have multiple of the same player.
Ya it has been a while and I don’t use tumblr like i used to so sorry for the late reply, needed to read the article again to see what I was saying. You are right the variables should be the members themselves but that includes the enemies.If you wanted to have a portrait bar with multiple of the same portrait you would need an average action cost, or just use your attack action speed (which is normally the base speed of all actions, or in this case the fastest action).You would take that speed and multiply it by the number of times the member is in the list already. So if they are not in the list yet, they do not get this additional delay, if they are in it once they get this added once, and if they are in it twice then its added twice. The formula would be as follows:TurnSpeed = (AverageActionSpeed * NumberOfTimesPresentInQueue)Now to get this to work in code, you would probably need an object that stores a reference to the character and a turn speed and that would be what would make up your queue rather then just adding the members to a list.It’s a touch more complicated, but it uses the same principles as the single portrait list.Good Luck, and if this isn’t useful to you any more then hopefully someone can use it.














