|
|

This is only a preview of the paper Click here to register and get the full text. Existing members click here to login
|
|
|
...
Essential Topics
Example of A Scenario Script
Script Keywords & Operators
Script Declaration
Data & Variables
Operators
Boolean Evaluation
Labels
Triggers & run_once
Calling RoN Script Functions
Script Log & Errors
Advanced Topics
Multiple Scripts per File
Script Libraries & Include Files
Debugging Scripts with Script Editor
eval Command
Data Types
Auto Type-Casts
Returns
Parameter Types
XML Text Extraction
Essential Topics
Example of a Scenario Script
First, a brief overview of how scripts are used and an example of a script:
The most common script used is a scenario script. ... (A disable_all_triggers call is often placed with a run_once block to turn off all triggers at the beginning of the game and turn them on later elsewhere)
[Top]
Calling RoN Script Functions
Of course, the purpose of the scripting language is to provide a powerful and flexible way to control and customize the game. ...
A complete listing of these functions may be found by selecting Insert Trigger Function
from the Edit menu in the Script Editor and a detailed documentation on these functions is provided in the RoN Script Function Reference. ... It can then be called much like a RoN native script function. ...
The command allows one to call a RoN script function directly, without using a script. ...
Variable Sized Parameter-Lists
A few of the RoN native script functions may take a variable number of parameters. ... This system was used to support localization for various scripts that shipped with RoN, but it might be of some use to scenario designers who wish to create multilingual versions of their scenarios.
Approximate Word count = 4155 Approximate Pages = 16.6 (250 words per page double spaced)
|
|
|
|
|
|