Difference between revisions of "Osiris/API/CharacterTeleportPartiesToTrigger"
From Divinity Engine Wiki
m |
m |
||
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 it is located in a different level. | * '''_Trigger''' must be global if it is located in a different level. |
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.