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