diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-21 23:22:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-21 23:22:55 +0300 |
commit | 4333293820d5c7de27e9e760dfeaadbc1686f2c3 (patch) | |
tree | 8b85e0447407cfe6cb58a935c3c27d3dc6c9ed09 /src/emap/script.h | |
parent | 36fb4cda271bda394b7e5e3b5911c6d9858aa8f8 (diff) | |
download | plugin-4333293820d5c7de27e9e760dfeaadbc1686f2c3.tar.gz plugin-4333293820d5c7de27e9e760dfeaadbc1686f2c3.tar.bz2 plugin-4333293820d5c7de27e9e760dfeaadbc1686f2c3.tar.xz plugin-4333293820d5c7de27e9e760dfeaadbc1686f2c3.zip |
Add script function failedrefindex and some macro.
New function: failedrefindex index
index - inventory item index
Example:
failedrefindex .@itemid;
Diffstat (limited to 'src/emap/script.h')
-rw-r--r-- | src/emap/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h index e999f4a..abf6b55 100644 --- a/src/emap/script.h +++ b/src/emap/script.h @@ -44,5 +44,6 @@ BUILDIN(getAreaDropItem); BUILDIN(setMount); BUILDIN(clientCommand); BUILDIN(isUnitWalking); +BUILDIN(failedRefIndex); #endif // EVOL_MAP_SCRIPT |