Page 1 of 1

Just getting started

Posted: Tue Apr 19, 2011 8:19 pm
by Larac
Is it possible to have a major event occur when certain set of Variables have been reached?

Like When Player 1 Has forces at or beyond (x,y) and Unit at (x,y) is not Destroyed or Shaken

An Event occurs perhaps with a quick series of images like before battle.

EX: A young child runs out from Hiding, running blind towards a fire fight.
or
A downed Pilot is found, with both sides trying to Capture/Rescue


Things like that?

Thanks for the info still reading and trying to see where and what I can do, I know I could do a lot but looking for what is within reason.

Thanks
Lee

Posted: Tue Apr 19, 2011 8:50 pm
by pipfromslitherine
Absolutely. You just put the logic in either your StartTurn or Tick function (depending on whether you want it to be immediate or happen at a turn change).

You'd also probably want a flag to say that your even had happened (to prevent it happening over and over :) ).

Having a read through the script for any mission which does something similar to what you want to do will probably also help clarify things.

Cheers

Pip