FED2 ADVANCED WORKBENCH
SCRIPT REFERENCE

CHECKLOCFLAG

Checks the type of location the player is in, and calls a different event depending on the outcome of the check.

Parameters:
Flag Name - the flag you want to check for (space, line, exchange, shipyard, repair, hospital, peace, bar and custom)
Flag Set Event - the event number to call if the player is in the specified type of location
Flag Not Set Event - the event to call if the player is not in the specified type of location

If you do not want an event to be called for one of the possible outcomes, leave the parameter blank.

Example:
checklocflag script:  flag bar:  set objects.candle.2:  unset objects.candle.3

More scripts