equal
deleted
inserted
replaced
587 === <tt>!SetTimer(gearUid, timer)</tt> === |
587 === <tt>!SetTimer(gearUid, timer)</tt> === |
588 |
588 |
589 <blockquote>Sets the timer of the specified gear. Also see !GetTimer. |
589 <blockquote>Sets the timer of the specified gear. Also see !GetTimer. |
590 </blockquote> |
590 </blockquote> |
591 |
591 |
592 === <tt>!SetHogLevel(gearUid)</tt> === |
592 === <tt>!SetHogLevel(gearUid, level)</tt> === |
593 |
593 |
594 <blockquote>Sets the bot level from 0 to 5. 0 means human player. |
594 <blockquote>Sets the bot level from 0 to 5. 0 means human player. |
595 </blockquote> |
595 </blockquote> |
596 |
596 |
597 === <tt>!SetGearPos(gearUid,value) (0.9.18-dev)</tt> === |
597 === <tt>!SetGearPos(gearUid, value) (0.9.18-dev)</tt> === |
598 |
598 |
599 <blockquote>Set pos of specified gear to specified value.</blockquote> |
599 <blockquote>Set pos of specified gear to specified value.</blockquote> |
600 |
600 |
601 == Other Functions == |
601 == Other Functions == |
602 |
602 |
636 === <tt>!MapHasBorder()</tt> === |
636 === <tt>!MapHasBorder()</tt> === |
637 |
637 |
638 <blockquote>Returns true/false if the map has a border or not. |
638 <blockquote>Returns true/false if the map has a border or not. |
639 </blockquote> |
639 </blockquote> |
640 |
640 |
641 === <tt>!TestRectForObstacle(x1, y1, x2, y2, bool) (0.9.16) </tt> === |
641 === <tt>!TestRectForObstacle(x1, y1, x2, y2, landOnly) (0.9.16) </tt> === |
642 |
642 |
643 <blockquote>Checks the given rectangle for collisions. |
643 <blockquote>Checks the rectangle between the given coordinates for possible collisions. set landOnly to true if you don't want to check for collisions with gears (hedgehogs, etc.) |
644 </blockquote> |
644 </blockquote> |
645 |
645 |
646 === <tt>!PlaySound(soundId)</tt> === |
646 === <tt>!PlaySound(soundId)</tt> === |
647 |
647 |
648 <blockquote>Plays the specified sound. |
648 <blockquote>Plays the specified sound. |
725 |
725 |
726 === <tt>!SwitchHog(gearUid)</tt> (0.9.16) === |
726 === <tt>!SwitchHog(gearUid)</tt> (0.9.16) === |
727 |
727 |
728 <blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote> |
728 <blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote> |
729 |
729 |
730 === <tt>!SendStat(TStatInfoType,statMessage[,teamName])</tt> (0.9.20) === |
730 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) === |
731 |
731 |
732 <blockquote>Exposes the uIO SendStat to the lua scripts. Use it to produce custom stat pages. |
732 <blockquote>Exposes the uIO SendStat to the lua scripts. Use it to produce custom stat pages. |
733 |
733 |
734 <b>Examples:</b> |
734 <b>Examples:</b> |
735 |
735 |