Script Editor: Create New Script Plugin – Arma Reforger

From Bohemia Interactive Community
Revision as of 11:40, 15 February 2024 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create New Script

Script Editor plugin

Ctrl + N

A plugin to help create a new file

File: SCR_NewScriptPlugin.c

Create New Script is a plugin that fulfills the "Create New Script" feature for the Script Editor.


Parameters

  • Addon - in which addon the file will be created
  • Destination Directory - in which directory tree the file will be created:
    It is possible to select an "ArmaReforger" directory to create the file and the directory tree in the selected addon, e.g
    Addon: MyAddon
    Selected directory: $ArmaReforger:scripts/Game/Building
    End destination: $MyAddon:scripts/Game/Building
    
  • Parent Class Name - the parent class name, if any - it may be overridden by config's parent class name
  • Type - the script type (same as Fill From Template's Type)
  • Template Config File - the template config to use, storing the different types's templates


See Also