Difference between revisions of "Osiris/API/CharacterTeleportPartiesToTrigger"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CharacterTeleportPartiesToTrigger'''(''(TRIGGERGUID)'''''_Trigger''', ''(STRING)'''''_Event''') ===== Description ===== Teleports all...")
 
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
* call '''CharacterTeleportPartiesToTrigger'''(''(TRIGGERGUID)'''''_Trigger''', ''(STRING)'''''_Event''')
 
* call '''CharacterTeleportPartiesToTrigger'''(''(TRIGGERGUID)'''''_Trigger''', ''(STRING)'''''_Event''')
 
===== Description =====
 
===== Description =====
Teleports all player characters to '''_Trigger'''.
+
Teleports all player characters to '''_Trigger'''. Whenever a player character arrives at its destination, a story event '''_Event''' will be thrown for them.
 +
 
 +
This call can be used to move all players to a new level.
 
===== Notes =====
 
===== Notes =====
* '''_Trigger''' must be global if you want to teleport between levels.
+
* '''_Trigger''' must be global if it is located in a different level.
 
* Use [[Osiris/API/TeleportTo|TeleportTo]] if you want to teleport individual characters.
 
* Use [[Osiris/API/TeleportTo|TeleportTo]] if you want to teleport individual characters.
 
===== See Also =====
 
===== See Also =====
 +
* [[Osiris/API/CharacterTeleportPartiesToTriggerWithMovie|CharacterTeleportPartiesToTriggerWithMovie]]
 +
* [[Osiris/API/CharacterTeleportPartiesToTriggerWithMovieRequestCallback|CharacterTeleportPartiesToTriggerWithMovieRequestCallback]]
 +
* [[Osiris/API/StoryEvent|StoryEvent]]
 
* [[Osiris/API/TeleportTo|TeleportTo]]
 
* [[Osiris/API/TeleportTo|TeleportTo]]
  
 
[[Category:Osiris Calls|CharacterTeleportPartiesToTrigger]]
 
[[Category:Osiris Calls|CharacterTeleportPartiesToTrigger]]

Latest revision as of 17:09, 25 November 2018

Full Definition(s)
  • call CharacterTeleportPartiesToTrigger((TRIGGERGUID)_Trigger, (STRING)_Event)
Description

Teleports all player characters to _Trigger. Whenever a player character arrives at its destination, a story event _Event will be thrown for them.

This call can be used to move all players to a new level.

Notes
  • _Trigger must be global if it is located in a different level.
  • Use TeleportTo if you want to teleport individual characters.
See Also