diff options
author | Haru <haru@dotalux.com> | 2017-04-27 13:08:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 13:08:14 +0200 |
commit | 109661e3d5fb4cc6ddde9b32f8c99012c8d17bce (patch) | |
tree | 86754bed4c6b343469face07d8f2c0c5dea072a9 /doc | |
parent | 436632b600f651f8f9d33c5bb64beaf9adcc38e4 (diff) | |
parent | 149f199fdd0483dfa3df89bed0fe49d95da59b27 (diff) | |
download | hercules-109661e3d5fb4cc6ddde9b32f8c99012c8d17bce.tar.gz hercules-109661e3d5fb4cc6ddde9b32f8c99012c8d17bce.tar.bz2 hercules-109661e3d5fb4cc6ddde9b32f8c99012c8d17bce.tar.xz hercules-109661e3d5fb4cc6ddde9b32f8c99012c8d17bce.zip |
Merge pull request #1711 from mekolat/checkoption2
allow checkoption et al to check another player
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index d7795b7a6..b68ac5c64 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3950,17 +3950,18 @@ things might in some cases be required. --------------------------------------- -*checkoption(<option number>) -*checkoption1(<option number>) -*checkoption2(<option number>) -*setoption(<option number>{, <flag>}); +*checkoption(<option number>{, <account id>}) +*checkoption1(<option number>{, <account id>}) +*checkoption2(<option number>{, <account id>}) +*setoption(<option number>{, <flag>{, <account id>}}); The setoption() series of functions check for a so-called option that is set on the invoking character. 'Options' are used to store status conditions and a lot of other non-permanent character data of the yes-no kind. For most common cases, it is better to use checkcart(), checkfalcon(), checkmount() and other similar functions, but there are -some options which you cannot get at this way. +some options which you cannot get at this way. If <account id> is given, +this player will be used instead of the invoking character. Option numbers valid for the first (option) version of this command are: |