Ylands:Tile - YFirearm - Set Loaded Ammo: Difference between revisions
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Get-Set loaded ammo to Ylands:Tile - YFirearm - Set Loaded Ammo: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Set Loaded Ammo(Entity, Value) == | |||
[[File:YlandsTile-1069.png]] | |||
<pre>static setAmmo(target: YEntity, value: number): void;</pre> | |||
=== Parameters === | |||
==== target ==== | |||
Target entity (weapon) | |||
==== value ==== | |||
New amount of loaded ammo | |||
=== Description === | |||
Allows to set amount '''ammo''' for target '''ranged weapon'''. | |||
---- | ---- | ||
Line 7: | Line 27: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Set Loaded Ammo(Entity, Value)
static setAmmo(target: YEntity, value: number): void;
Parameters
target
Target entity (weapon)
value
New amount of loaded ammo
Description
Allows to set amount ammo for target ranged weapon.