AppearAt
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 _CustomSpawnAnimation
is played. Once the character has appeared on stage (and finished playing its spawning animation if requested), _AppearedEvent
is raised for _Character
.
Further Information
This does not work if _Character
is dead. Use call SetOnStage instead for such characters.
Full Definitions
call AppearAt((CHARACTER)_Character, (GUIDSTRING)_Target, (INTEGER)_PlaySpawn, (ANIMATION)_CustomSpawnAnimation, (STRING)_AppearedEvent, (INTEGER)_PreventTeleportOnFailure)
Example(s)
IF ObjectTimerFinished(_Sahuagin, "SahuaginAttack_Appear") THEN AppearAt((CHARACTER)_Sahuagin, _Sahuagin, 1, _Spawn_Dock, "SahuaginAttack_Spawned", 0);