Events

Post new mods and scenarios here.

Moderator: Vic

Post Reply
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

Events

Post 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.
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
User avatar
Vic
Posts: 9940
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Events

Post by Vic »

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
LiquidSky
Posts: 2834
Joined: Tue Jun 24, 2008 4:28 am

RE: Events

Post 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.
“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
User avatar
Vic
Posts: 9940
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Events

Post 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..
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Mods and Scenarios”