Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.5

Description

Description:

Returns the current editor type.


Syntax

Syntax:getEditorType
Parameters:
Return Value:

String - Current type. Can be:

  • "OME" (offline editor)
  • "RTE" (real-time editor)
  • "AAR" (after-action review)
  • "C2" (user mode, not running as administrator)
  • "" (no editor)

Examples

Examples:
_et = getEditorType

Additional Information

See also: getEditorMode
Multiplayer: 
Problems:In versions prior to 3.7, type "C2" may be incorrectly detected as "RTE" when VBS was started in admin mode, but it was subsequently disabled via setAdmin false.

Notes