User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Events Not Working - Wrong Code?

Mon May 25, 2009 11:08 am

Hello,

My scenario runs, units can move, played 10 turns with no hiccups, except events.

Can anyone look at my Events tab and see any problems with my 1st few events. Maybe some coding wrong?

I have no errors on compile of scenario.

Attached is my Excel for my scenario.
Attachments

[The extension xls has been deactivated and can no longer be displayed.]


User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Mon May 25, 2009 11:47 am

The 'main' events fle for a scenario must have identical name as the scenario file to be 'found':

Your Scenario name is defined as:
1745 Claim America Campaign.scn

Your events file script is named:
ClaimAmerica1745.sct

Event file must be named:
1745 Claim America Campaign.[color="Red"]sct[/color]

I always copy/past from setup tab to Events tab cell D3, then edit the suffix
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Tue May 26, 2009 12:01 am

Thanks Lodi!

Should have known there was some trick! :mdr:


Can all the other includes have any name?

So, my Winter Quarters for Injuns, Special Events?

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue May 26, 2009 12:37 am

paw1776 wrote:Thanks Lodi!

Should have known there was some trick! :mdr:


Can all the other includes have any name?

So, my Winter Quarters for Injuns, Special Events?


Yes, includes can be any filename, so we can share common files between scenarios. :D

You'll note that the 1775 Campaign 'includes' the 1776 Campaign.sct event file for example...

And an 'included file' can have it's own 'includes' ad infinitum [see 1755 Campaign, 1756 Montcalm, and 1759 Annus Mirablis] :blink:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Tue May 26, 2009 1:14 am

deleted

User avatar
paw1776
Captain
Posts: 192
Joined: Thu Mar 26, 2009 5:29 am
Location: Melbourne, Australia
Contact: Website

Tue May 26, 2009 1:31 am

Thx!

Return to “WIA Mods”

Who is online

Users browsing this forum: No registered users and 29 guests