Osiris/API/TemporaryCharacterCreateAtTrigger

From Divinity Engine Wiki
Revision as of 12:23, 20 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''CharacterCreateAtTrigger'''(''(TRIGGERGUID)'''''_Trigger''', ''(STRING)'''''_TemplateId''', ''(INTEGER)'''''_PlaySpawn''') ===== Descr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterCreateAtTrigger((TRIGGERGUID)_Trigger, (STRING)_TemplateId, (INTEGER)_PlaySpawn)
Description

Creates a temporary 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. A temporary character's corpse is not saved. This call is useful to avoid very large save file sizes if it is used to spawn very large amounts of characters.

Notes
See Also