From a8e77038c9449c69797e71c1a251877529163011 Mon Sep 17 00:00:00 2001 From: Marvin Lamart Date: Tue, 5 May 2015 11:36:17 +0200 Subject: Update script_commands.txt Actually, without "(" and ")" it triggers an error when script is loaded --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/script_commands.txt') 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 -- cgit v1.2.3-70-g09d2