This commit is contained in:
github-actions[bot]
2023-10-05 02:10:15 +00:00
parent 4cede4cfd7
commit 77916f90eb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -400,7 +400,7 @@
},"57": {
"doc": "Hook types",
"title": "CombatTurn",
"content": "HOOK_COMBATURN (hs_combatturn.int) . Runs before and after each turn in combat (for both PC and NPC). int arg0 - event type: 1 - start of turn 0 - normal end of turn -1 - combat ends abruptly (by script or by pressing Enter during PC turn) -2 - combat ends normally (hook always runs at the end of combat) Critter arg1 - critter doing the turn bool arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise int ret0 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat . ",
"content": "HOOK_COMBATURN (hs_combatturn.int) . Runs before and after each turn in combat (for both PC and NPC). int arg0 - event type: 1 - start of turn 0 - normal end of turn -1 - combat ends abruptly (by script or by pressing Enter during PC turn) -2 - combat ends normally (hook always runs at the end of combat) Critter arg1 - critter doing the turn int arg2 - 1 at the start/end of the player's turn after loading a game saved in combat mode, 0 otherwise int ret0 - pass 1 at the start of turn to skip the turn, pass -1 at the end of turn to force end of combat . ",
"url": "/sfall/hook-types/#combatturn",
"relUrl": "/hook-types/#combatturn"