summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/constants.md11
-rw-r--r--doc/script_commands.txt24
2 files changed, 32 insertions, 3 deletions
diff --git a/doc/constants.md b/doc/constants.md
index 7ed53c422..f4ffaf243 100644
--- a/doc/constants.md
+++ b/doc/constants.md
@@ -360,6 +360,8 @@
- `mf_nocashshop`: 54
- `mf_noautoloot`: 55
- `mf_noviewid`: 56
+- `mf_pairship_startable`: 57
+- `mf_pairship_endable`: 58
### Cell Properties
@@ -4219,6 +4221,15 @@
- `MST_AROUND4`: 12
- `MST_AROUND`: 12
+### private airship responds
+
+- `P_AIRSHIP_NONE`: 0
+- `P_AIRSHIP_RETRY`: 1
+- `P_AIRSHIP_INVALID_START_MAP`: 2
+- `P_AIRSHIP_INVALID_END_MAP`: 3
+- `P_AIRSHIP_ITEM_NOT_ENOUGH`: 4
+- `P_AIRSHIP_ITEM_INVALID`: 5
+
### Renewal
- `RENEWAL`: 1
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 13496ffe5..c8fa056d4 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3357,12 +3357,13 @@ Examples:
---------------------------------------
-*getunits(<type>, <variable>, <limit>, "<map>"{, <x1>, <y1>, <x2>, <y2>})
+*getunits(<type>, <variable>, <limit>{, "<map>"{, <x1>, <y1>, <x2>, <y2>}})
This function searches a whole map or area for units and adds their GID to
the provided <variable> array. It filters units by <type> and stops searching
after <limit> units have been found. Set <limit> to false (0) if you wish to
-disable the limit altogether.
+disable the limit altogether. If <map> is omitted, this command will search
+on the whole server (slow). Returns the number of units added to the array.
Type is the type of unit to search for:
@@ -3381,6 +3382,10 @@ Type is the type of unit to search for:
** Do NOT use UNITTYPE_ constants here, they have different values.
+** If battle_config.dynamic_mobs is enabled and no player has entered the map
+ yet, the mobs will not have spawned in the map yet, so getunits() will be
+ unable to find them when searching for BL_MOB.
+
Example:
.@count = getunits((BL_PC | BL_NPC), .@units, false, "prontera");
@@ -10044,4 +10049,17 @@ Enables the Emblem of the given Clan to the current NPC
//=====================================
13 - End of Clan System Related Commands
//=====================================
---------------------------------------- \ No newline at end of file
+---------------------------------------
+
+*airship_respond(<flag>)
+
+Send client respond to different private airship status.
+the available flags are:
+ P_AIRSHIP_NONE
+ P_AIRSHIP_RETRY
+ P_AIRSHIP_INVALID_START_MAP
+ P_AIRSHIP_INVALID_END_MAP
+ P_AIRSHIP_ITEM_NOT_ENOUGH
+ P_AIRSHIP_ITEM_INVALID
+
+---------------------------------------