LuaAPI.wiki
changeset 60 e9375c8b25c7
parent 59 233360620ae2
child 61 99fa236c7eb9
equal deleted inserted replaced
59:233360620ae2 60:e9375c8b25c7
   253 
   253 
   254 <blockquote>Makes the specified gear say, think, or shout some text in a bubble.
   254 <blockquote>Makes the specified gear say, think, or shout some text in a bubble.
   255 </blockquote>
   255 </blockquote>
   256 Example:
   256 Example:
   257 
   257 
   258 <code lang="lua">    !HogSay(CurrentHedgehog, "I wonder what to do...", SAY_THINK) -- thought bubble with text
   258 <code lang="lua">    !HogSay(!CurrentHedgehog, "I wonder what to do...", SAY_THINK) -- thought bubble with text
   259     !HogSay(CurrentHedgehog, "I'm hungry...", SAY_SAY) -- speech bubble with text
   259     !HogSay(!CurrentHedgehog, "I'm hungry...", SAY_SAY) -- speech bubble with text
   260     !HogSay(CurrentHedgehog, "I smell CAKE!", SAY_SHOUT) -- exclamatory bubble with text
   260     !HogSay(!CurrentHedgehog, "I smell CAKE!", SAY_SHOUT) -- exclamatory bubble with text
   261 </code>
   261 </code>
   262 === <tt>!HogTurnLeft(gearUid, boolean)</tt> ===
   262 === <tt>!HogTurnLeft(gearUid, boolean)</tt> ===
   263 
   263 
   264 <blockquote>Faces the specified hog left or right.
   264 <blockquote>Faces the specified hog left or right.
   265 </blockquote>
   265 </blockquote>