Osiris/API/JumpToTurn: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 6: Line 6:
* '''_Target''' must be in a combat.
* '''_Target''' must be in a combat.
* '''_Target''''s combat information needs to have been fully initialised before this API can be used. See [[Osiris/API/ObjectReadyInCombat|ObjectReadyInCombat]] for more information.
* '''_Target''''s combat information needs to have been fully initialised before this API can be used. See [[Osiris/API/ObjectReadyInCombat|ObjectReadyInCombat]] for more information.
* In current versions of DOS2, the turn of the character currently active in combat is terminated when this call is used. In a future version, the currently active character will be shuffled to a different position in the same turn.
* The turn of the character currently active in the same combat ends when this call is used (so they will only have a turn again in the next combat round).
===== See Also =====
===== See Also =====
* [[Osiris/API/CombatStarted|CombatStarted]]
* [[Osiris/API/CombatStarted|CombatStarted]]

Latest revision as of 10:27, 2 October 2018

Full Definition(s)
  • call JumpToTurn((GUIDSTRING)_Target)
Description

Switches the current combat turn to _Target, so that it can act immediately.

Notes
  • _Target must be in a combat.
  • _Target's combat information needs to have been fully initialised before this API can be used. See ObjectReadyInCombat for more information.
  • The turn of the character currently active in the same combat ends when this call is used (so they will only have a turn again in the next combat round).
See Also