Changes

Jump to navigation Jump to search
216 bytes added ,  15:33, 4 February 2020
Line 277: Line 277:  
Or you can put your script in separate files and refer to them relative to your mod root folder, by starting with a forward slash:
 
Or you can put your script in separate files and refer to them relative to your mod root folder, by starting with a forward slash:
 
  Script_EndOfDay "/Scripts/MyScript.txt"
 
  Script_EndOfDay "/Scripts/MyScript.txt"
 +
 +
Finally, all SoftwareProduct's has their own local variables that you can read and write to for your scripts, just use '''Product.GetVar(VariableName, DefaultValue)''' and '''Product.PutVar(VariableName, Value)'''.
    
=== Software categories ===
 
=== Software categories ===

Navigation menu