Workbench Links – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search

A Workbench link is a protocol link that allows to share a direct point to a resource/script/game world location.


Using a Workbench link requires registering the enfusion:// protocol in Windows; see the Register enfusion:// protocol section for more information.


Supported Modules


Format

A Workbench link is composed of the enfusion:// protocol, the Module to open, eventually an addon ID, the relative file path and eventual parameters:

  • enfusion://ResourceManager/~ArmaReforger:Configs/Factions/BLUFOR.conf
  • enfusion://ScriptEditor/scripts/Game/Editor/Containers/UIInfo/SCR_UIInfo.c;8
  • enfusion://WorldEditor/worlds/arland/arland.ent;3458.4,34.5587,2820.21;-15.107,297.881,0;46247
Module Parameters
ResourceManager N/A
ScriptEditor
  • file line number
WorldEditor
  • camera's world position (x, y, z)
  • camera's angles (x, y, z) - angles in -180..+180 range, z is always 0
  • entity ID - to select a specific entity

A link can be prefixed with https://enfusionengine.com/api/redirect?to=; the Enfusion Engine website provides a redirection for platforms that do not see enfusion:// as a valid protocol (e.g Discord).


Link Creation

Resource Manager

Create a link by clicking on any resource in Resource Browser with Right Mouse Button then selecting Copy Link option from the context menu.

Creating a link in Resource Browser

Script Editor

Create a link by selecting from the top menu Edit → Copy link option or by using the Ctrl + ⇧ Shift + L shortcut (can be changed in the shortcuts options section)

Creating a link in Script Editor
Example: EnWorld.c file is being open in Script Editor and current line is set to line 17 enfusion://ScriptEditor/scripts/Core/proto/EnWorld.c;17

World Editor

Create a link by selecting from the top menu Game → Copy view link option or by using the Ctrl + ⇧ Shift + L shortcut (can be changed in the shortcuts options section)

Creating a link in World Editor