Wargames:Help Site:Customize WGL:What is WGLInitSP sqs
Jump to navigation
Jump to search
What is WGLInitSP.sqs
Basic Overview and Idea
WGL 5.1 will try to execute a custom script named wglinitsp.sqs when you play offline, in single-player mode.
To use your own custom SP init stuff, place a script named wglinitsp.sqs in a folder ...\OFP\Users\Playernick\scripts.
The wglinitsp.sqs gives you the possibility to execute scripts independent to a mission implementation in single-player. So for example you could call a script to generate grass around the player in every mission.
HowTo
- The folder scripts in ...\OFP\Users\Playernick does not exist by default, so you'll need to create it.
- Create a text file in the scripts folder and rename it to wglinitsp.sqs.
- Add any content you like to get executed for every mission you load in singleplayer.