Editors Depot - Mission Editing and Scripting > OFP - Editing/Scripting Resources Beta Testing & Submission

Stringtable as a function storage

(1/1)

SoldierEPilot:
Hello word!

One of my main scripting projects structure was inspired by MCAR_engine.pbo.
It was very original idea - to store sqf code in that place. That's why I stole it)

Today I slightly changed the Notepad++ scripts I used for DASH_Library 2.0 development,
so these versions can be used in MCAR project revision (if someone want it)
or with creating MCAR-like scripting solutions.

Installation notes
http://www.ofpec.com/forum/index.php/topic,36503.msg250013.html#new

Usage: select 1 or several lines in stringtable and run ;
Plugins - Automation Scripts - MCAR_ToSQF
It will create one or more function listings.

To add/replace 1 function in stringtable:
Select one function (with comment-header, if it exists)

comment {dummy fn};
dummy={
_this
};

Plugins - Automation Scripts - MCAR_ToCSV
Function code will be prepared to paste to CSV,
it will looks like
dummy, "_this",dummy fn





Navigation

[0] Message Index

Go to full version