Translations:Bot System/7/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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 | ||
* <code>/npc exec lookat rad</code> look in given direction in radians ( | * <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 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 | * <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 |
Latest revision as of 09:57, 7 April 2024
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