Workbench Links – Arma Reforger

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add protocol registration information)
m (Text replacement - "{{Link|Arma Reforger:World Editor|World Editor}}" to "{{Link|Arma Reforger:World Editor}}")
Line 10: Line 10:
* {{Link|Arma Reforger:Resource Manager|Resource Manager}} (ResourceManager)
* {{Link|Arma Reforger:Resource Manager|Resource Manager}} (ResourceManager)
* {{Link|Arma Reforger:Script Editor|Script Editor}} (ScriptEditor)
* {{Link|Arma Reforger:Script Editor|Script Editor}} (ScriptEditor)
* {{Link|Arma Reforger:World Editor|World Editor}} (WorldEditor)
* {{Link|Arma Reforger:World Editor}} (WorldEditor)




Line 64: Line 64:


{{Clear}}
{{Clear}}
=== {{Link|Arma Reforger:World Editor|World Editor}} ===
=== {{Link|Arma Reforger:World Editor}} ===


Create a link by selecting from the top menu ''Game →'' '''Copy view link''' option or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}})
Create a link by selecting from the top menu ''Game →'' '''Copy view link''' option or by using the {{Controls|Ctrl|Shift|L}} shortcut (can be changed in the {{Link|Arma Reforger:Resource Manager: Options#Shortcuts|shortcuts options section}})

Revision as of 00:50, 12 January 2024

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