Difference between revisions of "Osiris/API/CharacterEnteredRegion"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
Line 11: Line 11:
 
* /
 
* /
 
   
 
   
[[Category:Osiris Events]]
+
[[Category:Osiris Events|CharacterEnteredRegion]]

Revision as of 15:04, 19 December 2017

Full Definition(s)
  • event CharacterEnteredRegion((CHARACTERGUID)_Character, (STRING)_Region)
Description

Thrown when a character enters a level because it was placed there in the editor, it was teleported there via script, or it was created/spawned there via script.

Parameters
  • _Character: the character that entered the level/region
  • _Region: the name of the level/region (as entered in the Levelname property of the Level -> Edit Level Data... menu entry in the editor.
Notes
  • For characters statically placed in a level using the editor, this event is thrown only once when the level is first entered. It is not thrown again when loading save games from within that level. TODO: check what happens if the players are teleported out of a level and then back into it (never done in DivinityOrigins mod).
See Also
  • /