Osiris/API/CharacterCreateAtPosition: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Created page with "===== Full Definition(s) ===== * query '''CharacterCreateAtPosition'''('''''[in]'''(REAL)'''''_X''', '''''[in]'''(REAL)'''''_Y''', '''''[in]'''(REAL)'''''_Z''', '''''[in]'''(S...")
 
mNo edit summary
Line 9: Line 9:
*/
*/
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterUnFreeze|CharacterUnFreeze]]
* [[Osiris/API/CharacterAppearAt|CharacterAppearAt]]
* [[Osiris/API/CharacterAppearAt|CharacterAppearAt]]
* [[Osiris/API/CharacterCreateAtTrigger|CharacterCreateAtTrigger]]
* [[Osiris/API/CharacterCreateAtTrigger|CharacterCreateAtTrigger]]

Revision as of 11:01, 20 December 2017

Full Definition(s)
  • query CharacterCreateAtPosition([in](REAL)_X, [in](REAL)_Y, [in](REAL)_Z, [in](STRING)_TemplateId, [in](INTEGER)_PlaySpawn, [out](CHARACTERGUID)_Created)
Description

Creates a character of the root template defined by _TemplateId (in a <root template name>_<root template UUID> format) at the coordinates given by _X, _Y, _Z, and returns it as _Created. If _PlaySpawn is 1, the creature will play its spawn animation as it appears.

Return Values
  • Success/Failure: Fails if _TemplateID is not a character or does not exist.
  • _Created: The character created.
Notes
  • /
See Also