mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
deploy: daf9e57d36
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user