|
ernieschwitz -> RE: event codes in ATGold (8/14/2012 5:51:35 PM)
|
Sorry if i posted a bit hastily, and a little too curt. Here is what i meant to say. Every round consists of turns. I had trouble with this myself and still do sometimes. The code you are using initiates every turn. That is because it is an early turn check. Your message is only posted to player 1. Because of the setting ExecMessage(0...) In game terms player 1 is always regime 0. Your message is repeated on round two turn one, because it is executed on round 2, turn 1 as well as round 1 turn 1. So you see it the first time, and then when it is the opponents turn, it is executed again. There are several ways to make sure it is only posted once. For instance, make it a round check, and it will only initiate in round 1. Or make extra lines, Check: CheckTurn == 0 ... End Check, along with the round check of course. Or using the Block Event code after it has executed once. to name a few... I hope this was more enlightening than my first post.
|
|
|
|