Added script command progressbar_npc (#2272)

* Fixes #1473
Thanks to @Tokeiburu and @kukuasir1
This commit is contained in:
Lemongrass3110
2017-07-24 19:21:35 +02:00
committed by Aleos
parent d912c5039b
commit cf0cfe84a7
7 changed files with 118 additions and 4 deletions

View File

@@ -6392,9 +6392,22 @@ This command works almost like sleep2, but displays a progress bar
above the head of the currently attached character (like cast bar).
Once the given amount of seconds passes, the script resumes. If the
character moves while the progress bar progresses, it is aborted and
the script ends. The color format is in RGB (0xRRGGBB). The color is
the script ends. The color format is in RGB (RRGGBB). The color is
currently ignored by the client and appears always green.
---------------------------------------
*progressbar_npc "<color>",<seconds>{,<"NPC Name">};
This command works like progressbar, but displays a progress bar
above the head of the currently attached (or given) NPC. Once the
given amount of seconds passes, the script resumes. The color format
is in RGB (RRGGBB). The color is currently ignored by the client and
appears always green.
Note: If a player is attached to the NPC, they are detached from the NPC
as soon as the progress bar activates.
---------------------------------------
//
5,1.- End of time-related commands