Osiris/API/CharacterAppearOnTrailOutOfSightToCustom: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
* call  '''CharacterAppearOnTrailOutOfSightToCustom'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_Angle''', ''(STRING)'''''_Animation''', ''(STRING)'''''_Event''')
* call  '''CharacterAppearOnTrailOutOfSightToCustom'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_Angle''', ''(STRING)'''''_Animation''', ''(STRING)'''''_Event''')
===== Description =====
===== Description =====
Same as [[Osiris/API/CharacterAppearOutOfSightTo|CharacterAppearOutOfSightTo]] with '''_PlaySpawn''' = '''1''', except that the specified '''_Animation''' will be played when spawning instead of the default spawning animation.
Same as [[Osiris/API/CharacterAppearOnTrailOutOfSightTo|CharacterAppearOnTrailOutOfSightTo]] with '''_PlaySpawn''' = '''1''', except that the specified '''_Animation''' will be played when spawning instead of the default spawning animation.
===== Notes =====
===== Notes =====
* Getting the angle right is hard and error-prone. If possible, use [[Osiris/API/CharacterAppearOnTrailOutOfSightToObjectCustom|CharacterAppearOnTrailOutOfSightToObjectCustom]] instead.
* Getting the angle right is hard and error-prone. If possible, use [[Osiris/API/CharacterAppearOnTrailOutOfSightToObjectCustom|CharacterAppearOnTrailOutOfSightToObjectCustom]] instead.

Revision as of 11:49, 25 November 2017

Full Definition(s)
  • call CharacterAppearOnTrailOutOfSightToCustom((CHARACTERGUID)_Character, (GUIDSTRING)_Target, (INTEGER)_Angle, (STRING)_Animation, (STRING)_Event)
Description

Same as CharacterAppearOnTrailOutOfSightTo with _PlaySpawn = 1, except that the specified _Animation will be played when spawning instead of the default spawning animation.

Notes
See Also