Tile - YResource - Set Resource Value – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Set Resource Value(Player, Resource, Value) ==...")
 
No edit summary
Line 14: Line 14:


==== value ====
==== value ====
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 12:16, 12 November 2021

Set Resource Value(Player, Resource, Value)

YlandsTile-829.png

static setResourceValue(player: YCharacter, resource: YResource, value: number): void;

Parameters

player

resource

value

Availability

Server

Description

Allows to set the current amount of target Resource the player has.

Notes

  • Resource is utilized by custom *skills.