I am using "OpenCommDirectory" as an example;
When OpenCommDirectory is passed as value in rules.csv script column, it works - I don't know why.
I found OpenCommDirectory in libraries.
I wrote a new script under mods\modName\data\scripts.
I replicated code that was inside OpenCommDirectory.
My script class extends "BaseCampaignPlugin".
I pass my script class name in rules.csv where OpenCommDirectory was.
I run SS with my mod enabled and recieve an error:
I would like to understand how wrong is my approach.
Is it even possible? (maybe API does not support my approach).
My wish is to open a custom dialogue window from planet/station view where usually player can start trading or open mission board (which is OpenCommDirectory);
Once I am able to have my "own" dialogue window I can tweak it however I want and launch whatever CRUD scripts I want via "InteractionDialogAPI";