This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
rotate_entity_towards [2020/05/04 09:49] – justin | rotate_entity_towards [2021/04/21 18:48] (current) – justin | ||
---|---|---|---|
Line 13: | Line 13: | ||
|target_entity|Target [[entity]] to rotate the first [[entity]] towards.|[[Entity]]|Yes| | |target_entity|Target [[entity]] to rotate the first [[entity]] towards.|[[Entity]]|Yes| | ||
|also_rotate_target|Determines if the target [[entity]] should also be rotated towards the first [[entity]].|[[Boolean]]|Yes| | |also_rotate_target|Determines if the target [[entity]] should also be rotated towards the first [[entity]].|[[Boolean]]|Yes| | ||
- | |duration|Duration of the rotation (in seconds).|[[Decimal]]|Yes| | + | |duration|Duration of the rotation (in seconds).|[[Number]]|Yes| |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | rotate_entity_towards(player, | + | rotate_entity_towards(player, |
</ | </ | ||
// | // |