Difference between revisions of "Osiris/API/JumpToTurn"

From Divinity Engine Wiki
Jump to: navigation, search
(JumpToTurn documented)
 
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
* call '''JumpToTurn'''(''(GUIDString)'''''_Target''')
+
* call '''JumpToTurn'''(''(GUIDSTRING)'''''_Target''')
 
===== Description =====
 
===== Description =====
 
Switches the current combat turn to '''_Target''', so that it can act immediately.
 
Switches the current combat turn to '''_Target''', so that it can act immediately.
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 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]]
 +
* [[Osiris/API/EndTurn|EndTurn]]
 
* [[Osiris/API/ObjectReadyInCombat|ObjectReadyInCombat]]
 
* [[Osiris/API/ObjectReadyInCombat|ObjectReadyInCombat]]
 +
* [[Osiris/API/ObjectTurnStarted|ObjectTurnStarted]]
 +
* [[Osiris/API/ObjectTurnEnded|ObjectTurnEnded]]
 +
* Helper [[Osiris/Shared/DB_CombatCharacters|DB_CombatCharacters]]
 
    
 
    
[[Category:Osiris Calls]]
+
[[Category:Osiris Calls|JumpToTurn]]

Latest revision as of 11: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