Script:rotate: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}


This page describes the <code>spellcast</code> script command.
This page describes the <code>rotate</code> script command.


Usage:
Usage:
Line 7: Line 7:
  rotate <pitch> <yaw> <roll>
  rotate <pitch> <yaw> <roll>


The provided pitch, yaw and roll values are added to the entity's existing rotation.
Parameters:
{| class="wikitable sortable"
! Parameter
! Type
! Description
|-
| <code><pitch></code>
| {{real}}
| Value to add to the entity's pitch
|-
| <code><yaw></code>
| {{real}}
| Value to add to the entity's yaw
|-
| <code><roll></code>
| {{real}}
| Value to add to the entity's roll
|}


[[Category:Script commands]]
[[Category:Script commands]]

Revision as of 06:08, 18 January 2018

This article is a stub - you can help by expanding it. See the Wiki FAQ.

This page describes the rotate script command.

Usage:

rotate <pitch> <yaw> <roll>

Parameters:

Parameter Type Description
<pitch> Template:Real Value to add to the entity's pitch
<yaw> Template:Real Value to add to the entity's yaw
<roll> Template:Real Value to add to the entity's roll