diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-02-26 11:59:43 -0500 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-02-26 11:59:43 -0500 |
commit | 4bf3d0470d4cbaef9c11368767ca0be5ad37612a (patch) | |
tree | c580d334d86accdb19bac294926c5cffe5f9cccd /doc | |
parent | af4fbc19e20a02e515af9fa2d4a249e30edb8d4f (diff) | |
download | hercules-4bf3d0470d4cbaef9c11368767ca0be5ad37612a.tar.gz hercules-4bf3d0470d4cbaef9c11368767ca0be5ad37612a.tar.bz2 hercules-4bf3d0470d4cbaef9c11368767ca0be5ad37612a.tar.xz hercules-4bf3d0470d4cbaef9c11368767ca0be5ad37612a.zip |
Revert "allow to get vars of other players with getd"
This reverts commit eb5fc0076764d2f604e6a484fe144988f6e9da9b.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 77b361498..ca7ebacca 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -1371,11 +1371,10 @@ Examples: --------------------------------------- -*getd("<variable name>"{, <GID>{, <default value>}}) +*getd("<variable name>") Returns a reference to a variable, the name can be constructed dynamically. -If <GID> is present, it can be used to get a variable from another player or -npc. If the target player or npc is not found, <default value> is returned. +Refer to setd() for usage. This can also be used to set an array dynamically: setarray(getd(".array[0]"), 1, 2, 3, 4, 5); |