Difference between revisions of "Osiris/API/JumpToTurn"

From Divinity Engine Wiki
Jump to: navigation, search
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.
* The turn of the character currently active in combat is terminated when this call is used.
+
* 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.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/CombatStarted|CombatStarted]]
 
* [[Osiris/API/CombatStarted|CombatStarted]]

Revision as of 14:44, 22 February 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.
  • 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.
See Also