Updated web document for set_pipboy_available script function

This commit is contained in:
NovaRain
2026-02-24 08:34:20 +08:00
parent bac9e630f9
commit e9c73e6dd3
+4 -1
View File
@@ -906,7 +906,10 @@
opcode: 0x8177
- name: set_pipboy_available
detail: void set_pipboy_available(int available)
doc: Sets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not mark the `VSUIT_MOVIE` movie as "played").
doc: |
Sets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not change the player's default appearance).
- The availability state will be reset each time the player reloads the game.
- __NOTE:__ starting from sfall 4.4.6/3.8.46, value 1 no longer marks the `VSUIT_MOVIE` movie as "played". Use `mark_movie_played(VSUIT_MOVIE)` instead if you want the old behavior.
opcode: 0x818b
- name: get_kill_counter
detail: int get_kill_counter(int critterType)