Skip to content

Commit

Permalink
added check for workbench mode
Browse files Browse the repository at this point in the history
  • Loading branch information
y0014984 authored Oct 17, 2023
1 parent 7cd84da commit 7954057
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/bastelstube/arma-reforger.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,9 @@ string parameter2 = "World!";

GetGame().GetCallqueue().CallLater(FunctionWithoutBraces, delay, repeat, parameter1, parameter2);
```

## Check for Workbench Mode
```c#
SCR_Global.IsEditMode();
// returns true if currentlich in Workbench Mode and not in-game
```

0 comments on commit 7954057

Please sign in to comment.