Difference between revisions of "Osiris/Shared/DB CurrentLevel"

From Divinity Engine Wiki
Jump to: navigation, search
(Added DB_CurrentLevel documentation)
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
* '''DB_CurrentLevel'''(''(STRING)'''''_LevelName)
 
* '''DB_CurrentLevel'''(''(STRING)'''''_LevelName)
 
===== Description =====
 
===== Description =====
Whenever a [[Osiris/API/RegionStarted|region starts]], a fact with this level name is added to the '''DB_CurrentLevel''' database. When a [[Osiris/API/RegionEndded|region ends]], the fact is removed again.
+
Whenever a [[Osiris/API/RegionStarted|region starts]], a fact with this level name is added to the '''DB_CurrentLevel''' database. When a [[Osiris/API/RegionEnded|region ends]], the fact is removed again.
 
===== Notes =====
 
===== Notes =====
 
* /
 
* /
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/RegionEndded|RegionEnded]]
+
* [[Osiris/API/RegionEnded|RegionEnded]]
 
* [[Osiris/API/RegionStarted|RegionStarted]]
 
* [[Osiris/API/RegionStarted|RegionStarted]]
 
   
 
   
[[Category:Osiris Shared Mod Helpers]]
+
[[Category:Osiris Shared Mod Helpers|CurrentLevel]]

Latest revision as of 15:49, 19 December 2017

Full Definition(s)
  • DB_CurrentLevel((STRING)_LevelName)
Description

Whenever a region starts, a fact with this level name is added to the DB_CurrentLevel database. When a region ends, the fact is removed again.

Notes
  • /
See Also