• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Linoa06

Corporal
1 Badges
Apr 18, 2011
25
0
  • Cities in Motion 2
Heya,

Might anyone enlighten me on demonstrations and military parades? How do I place them?

It seems to be I should put them using a timeline editor on a date, and remove them on a later date, but I'm not too sure...
 
It's a bit complicated.
You will need some knowledge in programming to do that.
First, you need to place the demonstration\parade in your map. Change the object's name to something you will remember (like "demo01a", "demo01b", "demo01c", "demo01d"...).
To activate a demonstration, use the line:
Code:
MAIN.$scenario.startAnimationEvent(["demo01a", "demo01b", "demo01c", "demo01d"], MAIN.$strings.$newsticker_demonstration_text)
demo01a, demo01b, etc. are the names of the demonstration objects.
MAIN.$strings.$newsticker_demonstration_text is a reference to the string file, it will add a news ticker announcing the demonstration.

To end the demonstration use the line:
Code:
MAIN.$scenario.stopAnimationEvent(["demo01a", "demo01b", "demo01c", "demo01d"], MAIN.$strings.$newsticker_demonstration_text)
Again, the function takes the same input.