SetBaseMaterial

Kategorie: Spieler
Ab Engineversion: 1.0 OC

Beschreibung

Sets the availability of buyable objects at the home base.

Syntax

bool SetBaseMaterial(int player, id definition, int cnt);

Parameter

player:
Number of the player whose home base material you want to set.
definition:
ID des Objekttyps, der mehr oder weniger oft kaufbar sein soll
cnt:
Set the available amount (positive).

Beispiel

SetBaseMaterial(0, Firestone, 10);
The first player can now buy ten flints.
Siehe auch: Buy, DoBaseMaterial, DoBaseProduction, GetBaseMaterial, GetBaseProduction, Sell, SetBaseProduction
Maikel, 2014-04