Why won't this event fire?

Post Reply
FOARP
Posts: 712
Joined: Sun Dec 23, 2012 10:05 pm

Why won't this event fire?

Post by FOARP »

This is seriously driving me crazy. I can't get this event to work. It should fire when 1915/4/20 comes around. I've double-checked the co-ordinates and they are legitimate resource locations, it's a supply event in the correct file for them, the USA is a CP country and fully mobilised+not surrendered, the editor doesn't show any problems with it, can't see what else could be wrong with it - anyone got any suggestions?

Code: Select all

{
 #NAME= Remembrance Day Riots In New York
 #POPUP= Remembrance Day Riots In New York
 #IMAGE=
 #SOUND= explosion1.wav
 #FLAG= 1
 #TYPE= 1
 #AI= 0
 #LEVEL= 0
 ;Set global variable condition to always trigger (dummy value)
 #GV= 1[1,100]
 ;Set link value to always trigger (dummy value)
 #LINK= 0[0]
 #COUNTRY_ID= 115
 #ALIGNMENT_ID= 0
 #FLAG_ID= 115
 #TRIGGER= 100
 #SEASON_FLAG= 0
 #DATE= 1915/4/20
 ;Set variable conditions:
 ; 1st Line - USA politically aligned with the CP and not surrendered
 #VARIABLE_CONDITION= 115 [1] [100] [0]
 #SOURCE_POSITION= 
 #DESTINATION_RESOURCE= 283,69 [1,4]
 #DESTINATION_RESOURCE= 282,70 [1,4]
 #DESTINATION_RESOURCE= 283,68 [1,4]
 #DESTINATION_RESOURCE= 284,70 [1,4]
 #DESTINATION_RESOURCE= 282,69 [1,4]
 }
American Front: a Work-in-progress CSA v USA Turtledove mod for SC:WW1 can be seen here.
User avatar
BiteNibbleChomp
Posts: 610
Joined: Mon Sep 12, 2016 1:52 am
Location: Australia

RE: Why won't this event fire?

Post by BiteNibbleChomp »

Set COUNTRY_ID to a nation that is an opponent of the USA (eg CSA). Should fire then.

Also, Remembrance Day in TL-191 is April 22.

- BNC
Ryan O'Shea - Strategic Command Designer
FOARP
Posts: 712
Joined: Sun Dec 23, 2012 10:05 pm

RE: Why won't this event fire?

Post by FOARP »

ORIGINAL: BiteNibbleChomp

Set COUNTRY_ID to a nation that is an opponent of the USA (eg CSA). Should fire then.

Also, Remembrance Day in TL-191 is April 22.

- BNC

*SLAPS FOREHEAD* Yeah, that's the explanation.

20 April is an in-game turn, if I set it to 22 April then won't it not fire until the next turn?

EDIT: yup, changing the Country_ID to an enemy country solved the issue, many thanks.
American Front: a Work-in-progress CSA v USA Turtledove mod for SC:WW1 can be seen here.
Post Reply

Return to “MODS and Scenarios”