Difference between revisions of "Osiris/API/JumpToTurn"
From Divinity Engine Wiki
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
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 | + | * 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/ObjectTurnStarted|ObjectTurnStarted]] |
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).