Difference between revisions of "Osiris/API/CharacterAppearOutOfSightToObject"

From Divinity Engine Wiki
Jump to: navigation, search
m
 
Line 2: Line 2:
 
* call  '''CharacterAppearOutOfSightToObject'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(GUIDSTRING)'''''_Object''', ''(INTEGER)'''''_PlaySpawn''', ''(STRING)'''''_Event''')
 
* call  '''CharacterAppearOutOfSightToObject'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(GUIDSTRING)'''''_Object''', ''(INTEGER)'''''_PlaySpawn''', ''(STRING)'''''_Event''')
 
===== Description =====
 
===== Description =====
'''_Character''' should be off-stage when calling this routine. This call will place '''_Character''' on-stage out of sight of '''_Target''' in the direction of '''_Object''', after which it walk to '''_Target'''. If '''_PlaySpawn''' is 1, '''_Character''''s spawn animation is played. If '''_PlaySpawn''' is 0, '''_Character''' is simply placed on-stage. '''_Event''' is triggered on '''_Character''' once it is on stage.
+
'''_Character''' should be off-stage when calling this routine. This call will place '''_Character''' on-stage out of sight of '''_Target''' in the direction of '''_Object'''. If '''_PlaySpawn''' is 1, '''_Character''''s spawn animation is played. If '''_PlaySpawn''' is 0, '''_Character''' is simply placed on-stage. '''_Event''' is triggered on '''_Character''' once it is on stage.
 
===== Notes =====
 
===== Notes =====
 
* /
 
* /

Latest revision as of 10:55, 26 November 2019

Full Definition(s)
  • call CharacterAppearOutOfSightToObject((CHARACTERGUID)_Character, (GUIDSTRING)_Target, (GUIDSTRING)_Object, (INTEGER)_PlaySpawn, (STRING)_Event)
Description

_Character should be off-stage when calling this routine. This call will place _Character on-stage out of sight of _Target in the direction of _Object. If _PlaySpawn is 1, _Character's spawn animation is played. If _PlaySpawn is 0, _Character is simply placed on-stage. _Event is triggered on _Character once it is on stage.

Notes
  • /
See Also