Difference between revisions of "Osiris/API/CharacterAppearAtPosition"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterAppearAtPosition)
 
m
 
Line 26: Line 26:
 
* [[Osiris/API/StoryEvent|StoryEvent]]
 
* [[Osiris/API/StoryEvent|StoryEvent]]
  
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|CharacterAppearAtPosition]]

Latest revision as of 16:07, 19 December 2017

Full Definition(s)
  • call CharacterAppearAtPosition((CHARACTERGUID)_Character, (REAL)_X, (REAL)_Z, (REAL)_Z, (INTEGER)_PlaySpawn, (STRING)_Event)
Description

_Character, which can currently be off-stage, appears at the position (_X, _Y, _Z), snapped to the nearest valid AI-grid position. If _PlaySpawn is 1, the character-specific spawn animation is played. Once the character has appeared on stage (and finished playing its spawning animation if requested), _Event is raised for _Character.

Notes
  • This routine does not work if _Character is dead. Use SetOnStage instead for such characters.
See Also