From Bohemia Interactive Community
Jump to navigation Jump to search

Create a Workbench link for:

  • Script Editor scripting classes
  • Resource Manager directory path (note: paths must use / separator and not end with /)
  • it can eventually be expanded to uniquely named resource files.

It also adds the page to the Link/Enfusion template usage error category on usage error, and to the Pages with wrong Enfusion classes category if the provided class is unknown.

This template is used on these pages.



  • game: format to the {{Name}}'s identifier format, e.g armaR, arma4 etc.
  • itemName: scripting classname, e.g SCR_UIInfo. Uniquely named resource files may follow later (e.g SCR_UIInfo.c, FieldManualConfigRoot.conf).
Code Result
{{Link/Enfusion}} -no game defined!-
{{Link/Enfusion|abc}} -wrong game ("abc") provided!-
{{Link/Enfusion|armaR}} -no class provided!-
{{Link/Enfusion|armaR|stuff}} -unknown class ("stuff") provided!-
-unknown class ("SCR_UIInfo.c") provided!-
-unknown class ("FieldManualConfigRoot.conf") provided!-
{{Link/Enfusion|armaR|scripts/Game/Generators}} scripts/Game/Generators