Welcome to the Builder Academy

Question Combat Turn Counter

More
20 Jul 2013 03:08 #3473 by atebyagrue
Sounds simple right? The hard stuff usually does...
Ultimately, I'm trying to add a fatigue feature that goes into effect after the 10th turn of combat. As a proof of concept, I'm trying to add a simple counter to show what the starting turn of combat was and the current turn is. My understanding is game loop calls heartbeat, heartbeat calls pulse_violence, pulse_violence calls hit, etc. Displaying current round is cake (a matter of just passing heart_pulse). For the life of me, I cannot figure out a way to set and keep the starting round. Putting it in heartbeat gets over-written each iteration. Does anyone have any ideas? Been staring at it all day and I'm burnt.

Thanks in advance.

"It's easier to ask forgiveness than it is to get permission."
-Grace Hopper

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 22:18 #4367 by atebyagrue
Replied by atebyagrue on topic Combat Turn Counter
Disregard, I got it sorted. As per most of my posts, I figured it out about 20 minutes after posting.

"It's easier to ask forgiveness than it is to get permission."
-Grace Hopper

Please Log in or Create an account to join the conversation.

Time to create page: 0.297 seconds