LuaGears: Update SetHogHat
authorWuzzy
Fri, 24 May 2019 20:51:33 +0100 (2019-05-24)
changeset 1905 f94d74ad5939
parent 1904 a72ed10039b9
child 1906 7891546b4ff8
LuaGears: Update SetHogHat
LuaGears.wiki
--- a/LuaGears.wiki	Fri May 24 17:20:15 2019 +0100
+++ b/LuaGears.wiki	Fri May 24 20:51:33 2019 +0100
@@ -523,7 +523,7 @@
 Returns the hat of the specified hedgehog gear.
 
 === `SetHogHat(gearUid, hat)` ===
-Sets the hat of the specified hedgehog gear.
+Sets the hat of the specified hedgehog gear. `hat` is the hat name, which equals the file name (case-sensitively) without the file name suffix. If the hat file can not be found on the local computer, the hog will wear no hat.
 
 === `GetHogFlag(gearUid)` ===
 Returns the name of the flag of the team of the specified hedgehog gear.