From 4c01b8b6014ca83d30115a93a2fb1d413dae807d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 8 Dec 2022 04:18:51 +0000 Subject: [PATCH] deploy: 6c7bbb5a58b2a9af6210a2b55e238bfdf5e8be86 --- 404.html | 2 +- alter-min-max/index.html | 2 +- animations/index.html | 2 +- array-functions/index.html | 2 +- arrays/index.html | 2 +- art-and-appearance/index.html | 2 +- audio/index.html | 2 +- best-practices/index.html | 2 +- call_offset_vx/index.html | 2 +- car/index.html | 2 +- combat/index.html | 2 +- cursor/index.html | 2 +- data-types/index.html | 2 +- direct-memory-access/index.html | 2 +- explosions/index.html | 2 +- feed.xml | 2 +- funcx/index.html | 2 +- global-script-functions/index.html | 2 +- global-scripts/index.html | 2 +- global-variables/index.html | 2 +- graphics/index.html | 2 +- hook-functions/index.html | 2 +- hook-types/index.html | 2 +- hooks/index.html | 2 +- index.html | 2 +- ini-settings/index.html | 2 +- interface/index.html | 2 +- inventory/index.html | 2 +- keyboard-and-mouse/index.html | 2 +- knockback/index.html | 2 +- lists/index.html | 2 +- locks/index.html | 2 +- main-interface/index.html | 2 +- maps-and-encounters/index.html | 2 +- math/index.html | 2 +- npc-perks/index.html | 2 +- objects-and-scripts/index.html | 2 +- optimization/index.html | 2 +- other/index.html | 2 +- outline/index.html | 2 +- perks-and-traits/index.html | 2 +- pip-boy/index.html | 2 +- read_xxx/index.html | 2 +- rest/index.html | 2 +- sfall-funcx-macros/index.html | 2 +- sfall/index.html | 2 +- skills/index.html | 2 +- sslc/index.html | 2 +- stats/index.html | 2 +- strings/index.html | 2 +- tags/index.html | 2 +- tiles-and-paths/index.html | 2 +- variables/index.html | 2 +- version/index.html | 2 +- virtual-file-system/index.html | 2 +- weapons-and-ammo/index.html | 2 +- windows-and-images/index.html | 2 +- worldmap/index.html | 2 +- write_xxx/index.html | 2 +- 59 files changed, 59 insertions(+), 59 deletions(-) diff --git a/404.html b/404.html index d4070a25..5035b68f 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ - - sfall sfall | Sfall documentation Skip to main content Link Search Menu Expand Document (external link)

404

Page not found :(

The requested page could not be found.

+ sfall | Sfall documentation Skip to main content Link Search Menu Expand Document (external link)

404

Page not found :(

The requested page could not be found.

diff --git a/alter-min-max/index.html b/alter-min-max/index.html index c0932ec6..1f9dd0f7 100644 --- a/alter-min-max/index.html +++ b/alter-min-max/index.html @@ -1,4 +1,4 @@ - Alter min/max - sfall Alter min/max | sfall Skip to main content Link Search Menu Expand Document (external link)

Alter min/max

The set_stat_max/min functions can be used to set the valid ranges on stats. Values returned by get_current_stat will be clamped to this range. The set_pc_ function only affects the player, the set_npc_ functions only affects other critters, and the set_ functions affects both.

Functions


set_npc_stat_max

void set_npc_stat_max(int stat, int value)
+           Alter min/max | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Alter min/max

The set_stat_max/min functions can be used to set the valid ranges on stats. Values returned by get_current_stat will be clamped to this range. The set_pc_ function only affects the player, the set_npc_ functions only affects other critters, and the set_ functions affects both.

Functions


set_npc_stat_max

void set_npc_stat_max(int stat, int value)
 

set_npc_stat_min

void set_npc_stat_min(int stat, int value)
 

set_pc_stat_max

void set_pc_stat_max(int stat, int value)
 

set_pc_stat_min

void set_pc_stat_min(int stat, int value)
diff --git a/animations/index.html b/animations/index.html
index db5f1fbc..6a8e794a 100644
--- a/animations/index.html
+++ b/animations/index.html
@@ -1,4 +1,4 @@
-     Animations - sfall       Animations | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Animations

Functions


reg_anim_animate_and_hide

void reg_anim_animate_and_hide(ObjectPtr, int animID, int delay)
+           Animations | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Animations

Functions


reg_anim_animate_and_hide

void reg_anim_animate_and_hide(ObjectPtr, int animID, int delay)
 

Exactly like reg_anim_animate but the object will automatically disappear after the last animation frame (but not destroyed).


reg_anim_callback

void reg_anim_callback(procedure proc)
 

Adds the given procedure to an animation sequence-list and executes it in the registered sequence.


reg_anim_change_fid

void reg_anim_change_fid(ObjectPtr, int FID, int delay)
 

Should work like art_change_fid_num but in reg_anim sequence.


reg_anim_combat_check

void reg_anim_combat_check(int enable)
diff --git a/array-functions/index.html b/array-functions/index.html
index 64ad18a0..ab52384c 100644
--- a/array-functions/index.html
+++ b/array-functions/index.html
@@ -1,4 +1,4 @@
-     Array functions - sfall       Array functions | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Array functions

Functions


array_key

mixed array_key(int arrayID, int index)
+           Array functions | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Array functions

Functions


array_key

mixed array_key(int arrayID, int index)
 

Don’t use it directly; it is generated by the compiler in foreach loops.


arrayexpr

int arrayexpr(mixed key, mixed value)
 

Don’t use it directly; it is used by compiler to create array expressions.


create_array

int create_array(int size, int nothing)
 

Creates permanent array (but not “saved”).


fix_array

void fix_array(int arrayID)
diff --git a/arrays/index.html b/arrays/index.html
index 65ccf2e1..99d7b8aa 100644
--- a/arrays/index.html
+++ b/arrays/index.html
@@ -1,4 +1,4 @@
-     Arrays - sfall       Arrays | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Arrays

sfall introduces new method of storing variables - arrays.

Array is basically a container which can store variable number of values (elements). Each element in array can be of any type. Arrays can be extremely useful for some more advanced scripting, in conjunction with loops. See array function reference here.

Arrays concept

Array elements are accessed by index or key. For example:

// this code puts some string in array "list" at index 5:
+           Arrays | sfall                        Skip to main content   Link      Search      Menu      Expand      Document       (external link)     

Arrays

sfall introduces new method of storing variables - arrays.

Array is basically a container which can store variable number of values (elements). Each element in array can be of any type. Arrays can be extremely useful for some more advanced scripting, in conjunction with loops. See array function reference here.

Arrays concept

Array elements are accessed by index or key. For example:

// this code puts some string in array "list" at index 5:
 list[5] := "Value";
 

There are 2 different types of arrays currently available: