Scripting: Difference between revisions

m
Turning based on degrees
(Added information about cutscene command.)
m (Turning based on degrees)
Line 146: Line 146:


Tip: To get the coordinates you can right click the life script as you are working on it and hit paste coordinates. It'll paste the current coordinates you are standing on. This is very helpful.
Tip: To get the coordinates you can right click the life script as you are working on it and hit paste coordinates. It'll paste the current coordinates you are standing on. This is very helpful.
{{HeaderNoTOC|Turn around a specified number of degrees}}
<pre style="color: red">Warning: This command is likely bugged as of ALPHA 12(0.11.1). Specifying the number of degrees doesn't actually seem to properly turn you the number of degrees specified. Sometimes this command leads to randomized results as well with turning to random directions.</pre>
You can turn a certain number of degrees with <code>tn around</code>.
<code>tn around 50</code> will make you turn around 50 degrees.


{{HeaderNoTOC|Stop turning}}
{{HeaderNoTOC|Stop turning}}
62

edits