Osiris/API/CharacterEnteredRegion

From Divinity Engine Wiki
Revision as of 22:53, 30 March 2019 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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