summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-01 05:24:22 +0200
committerGitHub <noreply@github.com>2020-06-01 05:24:22 +0200
commitf1734dcd29ae8177fde4df78d78ed8c7c086d599 (patch)
tree64f11a4a8e4fadb48651116f3ccb7cc9ceed2142 /doc
parentf0aef9c8d8278b593b9de86148417c2aee78ab54 (diff)
parentc54623866cc7764ce6b2c0844c7d98a80b5f0592 (diff)
downloadhercules-f1734dcd29ae8177fde4df78d78ed8c7c086d599.tar.gz
hercules-f1734dcd29ae8177fde4df78d78ed8c7c086d599.tar.bz2
hercules-f1734dcd29ae8177fde4df78d78ed8c7c086d599.tar.xz
hercules-f1734dcd29ae8177fde4df78d78ed8c7c086d599.zip
Merge pull request #2758 from Kenpachi2k13/loudhailer
Add loudhailer() script command
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index a585695bd..2fc6a95e5 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -7527,6 +7527,16 @@ if GID is not given use the attached player.
//=====================================
---------------------------------------
+*loudhailer("<message>"{, "<color>"})
+
+Announces a colored text in '<char_name> Shouts : <message>' format.
+<color> must be a string in "RRGGBB" format. If <color> is omitted,
+white ("FFFFFF") will be used.
+This command is specially created for the Megaphone_ item (12221),
+but will work in NPCs, too.
+
+---------------------------------------
+
*announce("<text>", <flag>{, <fontColor>{, <fontType>{, <fontSize>{, <fontAlign>{, <fontY>}}}}})
This command will broadcast a message to all or most players, similar to