Difference between revisions of "Osiris/API/IsGameLevel"

From Divinity Engine Wiki
Jump to: navigation, search
(IsGameLevel documentation)
 
m (Link DB_CurrentLevel)
Line 11: Line 11:
 
* [[Osiris/API/GameStarted|GameStarted]]
 
* [[Osiris/API/GameStarted|GameStarted]]
 
* [[Osiris/API/RegionStarted|RegionStarted]]
 
* [[Osiris/API/RegionStarted|RegionStarted]]
+
* Helper [[Osiris/Shared/DB_CurrentLevel|DB_CurrentLevel]]
 +
 
 
[[Category:Osiris Queries]]
 
[[Category:Osiris Queries]]

Revision as of 20:19, 17 September 2017

Full Definition(s)
  • query IsGameLevel([in](STRING)_LevelName, [out](INTEGER)_Bool)
Description

Returns whether whether the level with name _LevelName is a non-character-creation, non-lobby level.

Return Values
  • Success/Failure: Default result.
  • _Bool: 1 if the level with name _LevelName is a non-character-creation, non-lobby level, 0 if not.
Notes
  • The character creation and lobby level for your mod can be specified in the project settings of your mod.
See Also