Oni (folder)/GameDataFolder/IGMD/global: Difference between revisions

m
mNo edit summary
 
Line 1: Line 1:
==Oni global script folder==
==Oni global script folder==
This is a "secret subfolder" of IGMD : a regular installation of Oni doesn't have it at all.
"global" is a "secret subfolder" of IGMD : a regular installation of Oni doesn't have it at all.


But you can create it and use it and it's actually very rewarding. It's a very special folder.
But you can create it and use it and it's actually very rewarding. It's a very special folder.
==What's so special about it?==
==What's so special about it?==
The global folder is visible from every one of Oni's levels. Rather, the scripts (files with extension BSL) in the global folder are always processed at the same time as the level logic of a particular level, when that particular level is loaded.
The global folder is visible from every one of Oni's levels. Rather, the scripts (files with extension BSL) in the global folder are always processed at the same time as the level logic of a particular level, when that particular level is loaded.