Osiris/API/CharacterAppearAt: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
mNo edit summary  | 
				mNo edit summary  | 
				||
| Line 2: | Line 2: | ||
* call '''CharacterAppearAt'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_PlaySpawn''', ''(STRING)'''''_Event''')  | * call '''CharacterAppearAt'''(''(CHARACTERGUID)'''''_Character''', ''(GUIDSTRING)'''''_Target''', ''(INTEGER)'''''_PlaySpawn''', ''(STRING)'''''_Event''')  | ||
===== Description =====  | ===== Description =====  | ||
'''_Character''', which can currently be off-stage, appears at the position of '''_Target'''. '''_Target''' can be another character, an item or a trigger. 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'''.  | '''_Character''', which can currently be off-stage, appears at the position of '''_Target''', snapped to the nearest valid AI-grid position. '''_Target''' can be another character, an item or a trigger. 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 =====  | ===== Notes =====  | ||
* This routine does '''not''' work if '''_Character''' is dead. Use [[Osiris/API/SetOnStage|SetOnStage]] instead for such characters.  | * This routine does '''not''' work if '''_Character''' is dead. Use [[Osiris/API/SetOnStage|SetOnStage]] instead for such characters.  | ||
| Line 10: | Line 10: | ||
* [[Osiris/API/CharacterAppearAtPosition|CharacterAppearAtPosition]]  | * [[Osiris/API/CharacterAppearAtPosition|CharacterAppearAtPosition]]  | ||
* [[Osiris/API/CharacterAppearAtPositionCustom|CharacterAppearAtPositionCustom]]  | * [[Osiris/API/CharacterAppearAtPositionCustom|CharacterAppearAtPositionCustom]]  | ||
* [[Osiris/API/CharacterAppearAtPositionOutOfSightTo|CharacterAppearAtPositionOutOfSightTo]]  | |||
* [[Osiris/API/CharacterAppearAtPositionOutOfSightToCustom|CharacterAppearAtPositionOutOfSightToCustom]]  | |||
* [[Osiris/API/CharacterAppearAtPositionOutOfSightToObject|CharacterAppearAtPositionOutOfSightToObject]]  | |||
* [[Osiris/API/CharacterAppearAtPositionOutOfSightToObjectCustom|CharacterAppearAtPositionOutOfSightToObjectCustom]]  | |||
* [[Osiris/API/CharacterAppearCustom|CharacterAppearCustom]]  | * [[Osiris/API/CharacterAppearCustom|CharacterAppearCustom]]  | ||
* [[Osiris/API/CharacterAppearOnTrailOutOfSightTo|CharacterAppearOnTrailOutOfSightTo]]  | * [[Osiris/API/CharacterAppearOnTrailOutOfSightTo|CharacterAppearOnTrailOutOfSightTo]]  | ||
Revision as of 12:00, 25 November 2017
Full Definition(s)
- call CharacterAppearAt((CHARACTERGUID)_Character, (GUIDSTRING)_Target, (INTEGER)_PlaySpawn, (STRING)_Event)
 
Description
_Character, which can currently be off-stage, appears at the position of _Target, snapped to the nearest valid AI-grid position. _Target can be another character, an item or a trigger. 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
- CharacterAppear
 - CharacterAppearAtCustom
 - CharacterAppearAtPosition
 - CharacterAppearAtPositionCustom
 - CharacterAppearAtPositionOutOfSightTo
 - CharacterAppearAtPositionOutOfSightToCustom
 - CharacterAppearAtPositionOutOfSightToObject
 - CharacterAppearAtPositionOutOfSightToObjectCustom
 - CharacterAppearCustom
 - CharacterAppearOnTrailOutOfSightTo
 - CharacterAppearOnTrailOutOfSightToCustom
 - CharacterAppearOnTrailOutOfSightToObject
 - CharacterAppearOnTrailOutOfSightToObjectCustom
 - CharacterAppearOutOfSightTo
 - CharacterAppearOutOfSightToCustom
 - CharacterAppearOutOfSightToObject
 - CharacterAppearOutOfSightToObjectCustom
 - SetOnStage
 - StoryEvent