Tile - YCannon - Aim Turret – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Aim Turret(Turret, Position) == | |||
[[File:YlandsTile-140.png]] | |||
<pre>static aimTurret(target: YEntity, position: YVector3): void;</pre> | |||
=== Parameters === | |||
==== target ==== | |||
Target entity (cannon) | |||
==== position ==== | |||
Aim to position (vector) | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Allows to set '''orientation''' of target entity (e.g cannon) to certain '''position'''. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:24, 24 November 2023
Aim Turret(Turret, Position)
static aimTurret(target: YEntity, position: YVector3): void;
Parameters
target
Target entity (cannon)
position
Aim to position (vector)
Availability
Description
Allows to set orientation of target entity (e.g cannon) to certain position.