Difference between revisions of "Osiris/API/GameEventSet"
From Divinity Engine Wiki
(Documented GameEventSet) |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
* event '''GameEventSet'''(''(STRING)'''''_Event''') | * event '''GameEventSet'''(''(STRING)'''''_Event''') | ||
===== Description ===== | ===== Description ===== | ||
− | The ''' | + | The '''GameEventSet'''("'''''GAMEEVENT_GameStarted'''''") is the first story event that gets thrown after the game engine has been initialised when starting a new game. |
===== Parameters ===== | ===== Parameters ===== | ||
− | * '''_Event''': This parameter is currently always | + | * '''_Event''': This parameter is currently always '''''GAMEEVENT_GameStarted'''''. |
===== Notes ===== | ===== Notes ===== | ||
* At this point, no level or objects have been loaded yet, nor have any [[Osiris/API/CharacterGetReservedUserID|users]] been added to the game. Hence, do not reference any objects nor perform any calls that refer to players or users at this point. | * At this point, no level or objects have been loaded yet, nor have any [[Osiris/API/CharacterGetReservedUserID|users]] been added to the game. Hence, do not reference any objects nor perform any calls that refer to players or users at this point. | ||
Line 12: | Line 12: | ||
* [[Osiris/API/RegionStarted|RegionStarted]] | * [[Osiris/API/RegionStarted|RegionStarted]] | ||
− | [[Category:Osiris Events]] | + | [[Category:Osiris Events|GameEventSet]] |
Latest revision as of 15:12, 19 December 2017
Full Definition(s)
- event GameEventSet((STRING)_Event)
Description
The GameEventSet("GAMEEVENT_GameStarted") is the first story event that gets thrown after the game engine has been initialised when starting a new game.
Parameters
- _Event: This parameter is currently always GAMEEVENT_GameStarted.
Notes
- At this point, no level or objects have been loaded yet, nor have any users been added to the game. Hence, do not reference any objects nor perform any calls that refer to players or users at this point.