diff options
author | Marvin Lamart <m.lamart@agence-passerelle.com> | 2015-05-05 11:36:17 +0200 |
---|---|---|
committer | Marvin Lamart <m.lamart@agence-passerelle.com> | 2015-05-05 11:36:17 +0200 |
commit | a8e77038c9449c69797e71c1a251877529163011 (patch) | |
tree | ca64886d4972f619a0e73f4939e31aae0d0589af /doc | |
parent | 85b47e326ad041744606c3e71a8ca67b4b34c313 (diff) | |
download | hercules-a8e77038c9449c69797e71c1a251877529163011.tar.gz hercules-a8e77038c9449c69797e71c1a251877529163011.tar.bz2 hercules-a8e77038c9449c69797e71c1a251877529163011.tar.xz hercules-a8e77038c9449c69797e71c1a251877529163011.zip |
Update script_commands.txt
Actually, without "(" and ")" it triggers an error when script is loaded
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index f63a4b169..3a5eb836f 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5905,7 +5905,7 @@ controlling each of the spawned mobs with the unit* commands shown below. For example: // We'll make a poring which will automatically attack invoking player: - .@mobGID = monster "Prontera",150,150,"Poring",PORING,1; // PORING is defined in the mob db and its value is 1002 + .@mobGID = monster ("Prontera",150,150,"Poring",PORING,1); // PORING is defined in the mob db and its value is 1002 unitattack .@mobGID, getcharid(3); // Attacker GID, attacked GID The way you can get the GID of more than only one monster is looping |