LuaAPI.wiki
changeset 114 e311af715b57
parent 107 523c7ad720ce
child 123 d6f33f6d142a
equal deleted inserted replaced
113:4978a1bc161a 114:e311af715b57
   237 </blockquote>
   237 </blockquote>
   238 === <tt>!GetState(gearUid)</tt> ===
   238 === <tt>!GetState(gearUid)</tt> ===
   239 
   239 
   240 <blockquote>returns the state of the gear. This is one of [States]
   240 <blockquote>returns the state of the gear. This is one of [States]
   241 </blockquote>
   241 </blockquote>
       
   242 === <tt>!GetGearMessage(gearUid)</tt> ===
       
   243 
       
   244 <blockquote>returns the message of the gear.
       
   245 </blockquote>
   242 === <tt>!GetFollowGear(gearUid)</tt> ===
   246 === <tt>!GetFollowGear(gearUid)</tt> ===
   243 
   247 
   244 <blockquote>Returns the uid of the gear that is currently being followed.
   248 <blockquote>Returns the uid of the gear that is currently being followed.
   245 </blockquote>
   249 </blockquote>
   246 === <tt>!GetTimer(gearUid)</tt> (0.9.14) ===
   250 === <tt>!GetTimer(gearUid)</tt> (0.9.14) ===
   402 === <tt>!SetState(gearUid, state)</tt> ===
   406 === <tt>!SetState(gearUid, state)</tt> ===
   403 
   407 
   404 <blockquote>Sets the state of the specified gear to one of [States].
   408 <blockquote>Sets the state of the specified gear to one of [States].
   405 </blockquote>
   409 </blockquote>
   406 
   410 
       
   411 === <tt>!SetGearMessage(gearUid, message)</tt> ===
       
   412 
       
   413 <blockquote>Sets the message of the specified gear.
       
   414 </blockquote>
       
   415 
   407 === <tt>!SetTag(gearUid, tag)</tt> ===
   416 === <tt>!SetTag(gearUid, tag)</tt> ===
   408 
   417 
   409 <blockquote>Sets the tag of the specified gear, different for every gear.
   418 <blockquote>Sets the tag of the specified gear, different for every gear.
   410 </blockquote>
   419 </blockquote>
   411 
   420