SAL script language has a standard assortment of different variables found in any other scripting or programming language.
Naming variables is easily done as seen in the above code examples. First declare variable type and then its name. Assigning a value to a variable is done with the "=". Don't forget the spaces between keywords and characters!
The goal of this script is to set Hull of the ship with the keyname adastraSHP to 250.0.
Declare a variable before using it!
For more information on script functions see FUNCTIONS section
Using Notepad++ for scripting is advised. For more information see DOWNLOADS section
Copyright © 2005-2017 Intercorona d.o.o.
Intercorona, LGM Games, Starpoint Gemini and Whale Engine are trademarks of Intercorona d.o.o. All Rights Reserved.