Translations:Bot System/7/en: Difference between revisions

From Vintage Story Wiki
(Importing a new version from external source)
Tags: Mobile edit Mobile web edit
(Importing a new version from external source)
 
Line 1: Line 1:
=== Immediate ===
Type one of either commands to execute a command right away
Type one of either commands to execute a command right away
* <code>/npc exec tp ''flexiblepos''</code> teleport to given position
* <code>/npc exec tp ''flexiblepos''</code> teleport to given position

Latest revision as of 09:57, 7 April 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Bot System)
Type one of either commands to execute a command right away
* <code>/npc exec tp ''flexiblepos''</code> teleport to given position
* <code>/npc exec lookat [rad]</code> look in given direction in radians (90° = 1.57, 180° = 3.14, etc.)
* <code>/npc exec goto ''flexiblepos'' animcode speed [animspeed]</code> walk to given position with given animation, given speed (normal walking speed is about 0.02) and given animation speed (default 1)
* <code>/npc exec playanim animcode</code> players given animation. Valid ones for animals, if supported by the respective animal: hurt, die, eat, walk, cry, shamble, lowshamble, sleep, sit, listen, hide, idletwitch, drill

Type one of either commands to execute a command right away

  • /npc exec tp flexiblepos teleport to given position
  • /npc exec lookat [rad] look in given direction in radians (90° = 1.57, 180° = 3.14, etc.)
  • /npc exec goto flexiblepos animcode speed [animspeed] walk to given position with given animation, given speed (normal walking speed is about 0.02) and given animation speed (default 1)
  • /npc exec playanim animcode players given animation. Valid ones for animals, if supported by the respective animal: hurt, die, eat, walk, cry, shamble, lowshamble, sleep, sit, listen, hide, idletwitch, drill