Bot System: Difference between revisions

From Vintage Story Wiki
No change in size ,  4 years ago
No edit summary
Line 26: Line 26:


== Instruct the bot ==
== Instruct the bot ==
Type one of either commands to execute a command right away


Legend: ''flexiblepos'' means either x y z coordinates as defined in the coordinate hud, absolute coordinates through =x =y =z or coordinates relative to the player with ~x ~y ~z, you can also do ~ ~ ~ do use exactly the players position.<br>
Legend: ''flexiblepos'' means either x y z coordinates as defined in the coordinate hud, absolute coordinates through =x =y =z or coordinates relative to the player with ~x ~y ~z, you can also do ~ ~ ~ do use exactly the players position.<br>


=== Immediate ===
=== Immediate ===
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 (0..2PI)
* <code>/npc exec lookat rad</code> look in given direction in radians (0..2PI)
Confirmedusers, Bureaucrats, editor, Administrators
1,795

edits