Difference between revisions of "Osiris/API/CharacterCreateAtTrigger"
From Divinity Engine Wiki
Line 6: | Line 6: | ||
* This does not return the character being created. If you need to reference that character, it is best to [[Osiris/API/GetPosition|query the '''_Trigger''''s position]] and use [[Osiris/API/CharacterCreateAtPosition|CharacterCreateAtPosition]], which does return the character. | * This does not return the character being created. If you need to reference that character, it is best to [[Osiris/API/GetPosition|query the '''_Trigger''''s position]] and use [[Osiris/API/CharacterCreateAtPosition|CharacterCreateAtPosition]], which does return the character. | ||
===== See Also ===== | ===== See Also ===== | ||
− | |||
* [[Osiris/API/CharacterAppearAt|CharacterAppearAt]] | * [[Osiris/API/CharacterAppearAt|CharacterAppearAt]] | ||
* [[Osiris/API/TemporaryCharacterCreateAtTrigger|TemporaryCharacterCreateAtTrigger]] | * [[Osiris/API/TemporaryCharacterCreateAtTrigger|TemporaryCharacterCreateAtTrigger]] |
Revision as of 12:01, 20 December 2017
Full Definition(s)
- call CharacterCreateAtTrigger((TRIGGERGUID)_Trigger, (STRING)_TemplateId, (INTEGER)_PlaySpawn)
Description
Creates a character of the root template defined by _TemplateId (in a <root template name>_<root template UUID> format) at the _Trigger. If _PlaySpawn is 1, the creature will play its spawn animation as it appears.
Notes
- This does not return the character being created. If you need to reference that character, it is best to query the _Trigger's position and use CharacterCreateAtPosition, which does return the character.
See Also
- CharacterAppearAt
- TemporaryCharacterCreateAtTrigger
- CharacterCreateAtPosition
- TemporaryCharacterCreateAtPosition
- CharacterCreateAtPositionOutOfSightTo
- TemporaryCharacterCreateAtPositionOutOfSightTo
- CharacterAppearAtCustom
- CharacterAppearAtPosition
- CharacterAppearAtPositionCustom
- CharacterAppearAtPositionOutOfSightTo
- CharacterAppearAtPositionOutOfSightToCustom
- CharacterAppearAtPositionOutOfSightToObject
- CharacterAppearAtPositionOutOfSightToObjectCustom
- CharacterAppearCustom
- CharacterAppearOnTrailOutOfSightTo
- CharacterAppearOnTrailOutOfSightToCustom
- CharacterAppearOnTrailOutOfSightToObject
- CharacterAppearOnTrailOutOfSightToObjectCustom
- CharacterAppearOutOfSightTo
- CharacterAppearOutOfSightToCustom
- CharacterAppearOutOfSightToObject
- CharacterAppearOutOfSightToObjectCustom
- SetOnStage