diff -r fcffa4712a96 -r 233360620ae2 LuaAPI.wiki
--- a/LuaAPI.wiki Mon Dec 06 16:06:28 2010 +0000
+++ b/LuaAPI.wiki Mon Dec 06 19:54:24 2010 +0000
@@ -249,6 +249,16 @@
gear = !AddGear(…)
!FindPlace(gear, true, 0, LAND_WIDTH) -- places the gear randomly between 0 and LAND_WIDTH
+=== !HogSay(gearUid, text, manner) ===
+
+
Makes the specified gear say, think, or shout some text in a bubble. ++Example: + +
!HogSay(CurrentHedgehog, "I wonder what to do...", SAY_THINK) -- thought bubble with text
+ !HogSay(CurrentHedgehog, "I'm hungry...", SAY_SAY) -- speech bubble with text
+ !HogSay(CurrentHedgehog, "I smell CAKE!", SAY_SHOUT) -- exclamatory bubble with text
+
=== !HogTurnLeft(gearUid, boolean) ===
Faces the specified hog left or right.