User Tools

Site Tools


reset_entity_rotation

This is an old revision of the document!


Reset Entity Rotation


Resets the entity's rotation to its original cardinal direction over the specified duration (in seconds). This assumes that the entity was previously rotated using the “Rotate Entity Towards” function.

reset_entity_rotation(player, 1)
ArgumentDescriptionTypeRequired
playerDescription.StringYes
1Description.StringYes

Example:

reset_entity_rotation(player, 1)

Results:

Use the Reset Entity Rotation function to …


Editor Node:

Visual Demo:

reset_entity_rotation.1493786811.txt.gz · Last modified: 2017/05/02 21:46 by 127.0.0.1