Difference between revisions of "Osiris/API/IsGameLevel"

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

Revision as of 15:39, 19 December 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