Kategorie: Global
Ab Engineversion: 8.0 OC
IsEditor
Beschreibung
Returns whether the current game is an editor game.
Syntax
bool IsEditor();
Beispiel
public func InitializePlayer(int plr) { if (IsEditor()) SetWealth(plr, 10**4); }
Gives the player a lot of wealth for testing purposes in editor mode.