Event Scripts

From Bohemia Interactive Community
Revision as of 16:27, 15 April 2006 by Bedges (talk | contribs)
Jump to navigation Jump to search

Description:

There are some scripts in the game which are launched when some event occurs.
Some of them have names given by mission designer - scripted waypoint, particle scripts (since version 1.50) and user action scripts.

Names of others are given by the program.

init.sqs - Launched when mission is started (before briefing screen).
- No arguments

initIntro.sqs - Launched when intro is started (since version 1.50).
- No arguments

exit.sqs - Launched when mission is finished (before debriefing screen, since version 1.50).
- Argument: end # - number of game end.

onFlare.sqs - Launched when illuminating shell is lit (since version 1.45).
- Arguments: [[r, g, b], gunner] - r, g, b is light color.