Category: Global
Since engine version: 8.0 OC
IsEditor
Description
Returns whether the current game is an editor game.
Syntax
bool IsEditor();
Example
public func InitializePlayer(int plr) { if (IsEditor()) SetWealth(plr, 10**4); }
Gives the player a lot of wealth for testing purposes in editor mode.