Page 1 of 1

scenario editor questions

Posted: Sat Aug 11, 2012 10:22 pm
by pcpilot
Hi all. I love fooling with game editors and this one is no exception. Since the new patch and release of afrika korps and its editor enhancements I now have some more questions if someone has a moment...

-I am curious what the center function and tag function do.

-Also, what are the run count and skip count? Do they apply to the trigger which starts the script or to the script itself once it starts to run.

-Any way to have a neutral country in my scenario join one side or the other once a trigger is tripped?

Thank you very much for your time with these questions.

Re: scenario editor questions

Posted: Sat Aug 11, 2012 11:47 pm
by El_Condoro
1. The tag function simply sets a tag that can be accessed by other scripts. For example, if an Axis unit takes a flag in a zone it could set off a script that sets a tag (or tags). Those tags can then be checked for by other scripts to fire their actions etc.

2. Run is normally set to 1 so the script action will fire just once. If set to a number it will fire that many times. If a skip is set it will fire the number of times and skip the set turns in between. e.g. Run: 3, Skip: 2 would fire, then miss 2 turns, then fire again, then miss 2 turns, then fire for the third and final time.

3. Not that I am aware of. The scripts don't affect the setting of nations.

Re: scenario editor questions

Posted: Sun Aug 12, 2012 12:27 am
by pcpilot
Thank you Condoro. So a tag is kind of another trigger? Does the center function only apply to centering the view?

Re: scenario editor questions

Posted: Sun Aug 12, 2012 3:09 am
by El_Condoro
Yes to both, although I have had trouble with centering the view if the hex to centre on is close to the map edge.