From 4bf3d0470d4cbaef9c11368767ca0be5ad37612a Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 26 Feb 2017 11:59:43 -0500 Subject: Revert "allow to get vars of other players with getd" This reverts commit eb5fc0076764d2f604e6a484fe144988f6e9da9b. --- doc/script_commands.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc') 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(""{, {, }}) +*getd("") Returns a reference to a variable, the name can be constructed dynamically. -If is present, it can be used to get a variable from another player or -npc. If the target player or npc is not found, 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); -- cgit v1.2.3-70-g09d2