Page 1 of 1

Events

Posted: Fri Sep 28, 2012 10:28 pm
by LiquidSky


Okay..now that I have gotten some event writing under my belt, I have a few questions:

Well..only one really.

When do events fire off during the turn?

You have:

NO CHECK
ROUND CHECK
EARLY START TURN (NO
LATE START TURN CHECK
LATE OPEN TURN CHECK
CLOSE TURN CHECK
AFTER AI INIT CHECK
GAME STARTUP ALWAYS
EARLY OPEN TURN CHECK

Some of these are obvious to me. NO CHECK is for cards or to be used as subroutines for other events to fire.
GAME STARTUP ALWAYS is probably before the first player starts his turn, such events are usually initial settings.

The rest are a mystery to me.

RE: Events

Posted: Sat Sep 29, 2012 8:45 am
by Vic

RE: Events

Posted: Tue Oct 02, 2012 10:09 pm
by LiquidSky


Another question...do the events fire in numerical order within the category? I ask, because I could make tempVar's that are global if I assign them in an event ahead of time.

RE: Events

Posted: Wed Oct 03, 2012 8:58 am
by Vic
ORIGINAL: LiquidSky



Another question...do the events fire in numerical order within the category? I ask, because I could make tempVar's that are global if I assign them in an event ahead of time.

TempVars are never global. They are always local to the event in question. Altough Tempvar900-999 are transferred to any event you call with the Call or ExecEvent function.

As for the question: the events fire on their number, so event 1 fires first... then 2.. then 3.. etc..