Tile - YCannon - Fire – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Fire entity to Ylands:Tile - YCannon - Fire: New Structure)
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Fire_entity.png]]
<!---
*Allows to '''fire immediately''' (without ignition timer)  target cannon.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*To activate ignition timer, use [[Ylands Tile - Ignite-Defuse explosive|'''Ignite''']] instruction.
-->
*Works also for catapults, but it will fire the catapult with 0 power.
== Fire(Entity) ==


[[File:YlandsTile-138.png]]


[[Image:Ylands_Tile_-_Fire_catapult.png]]
<pre>static fire(target: YEntity): void;</pre>
*Allows to fire '''catapult''' with desired '''power'''.
=== Parameters ===
*Power scales in range 0-5.


=== Notes ===
==== target ====
*To load a cannon it is possible to use [[Ylands Tile - Spawn entity prototype|'''Spawn Entity''']] or [[Ylands Tile - Put entity to container|'''Put To Container''']] instructions
 
=== Description ===
 
Allows to immediately '''fire''' (without ignition timer) selected cannon.




Line 18: Line 21:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.10]]

Revision as of 08:52, 8 July 2021