You can also get some of the existing abbreviations as well, as they are added in the same way, you just need to know the key's for themDeniskos wrote: ↑Fri, 10. Dec 21, 16:47As far as I understand, before you extract something usingneed to add something withCode: Select all
$Ret = get abbreviation text: type = 0, key = $Value $Ret = get abbreviation description: type = 0, key = $Value
Code: Select all
add encyclopedia abbreviation: type = 0, key = $Value, value page = 0, value id = 0, data page = 0, data id = 0
The events are just the existing internal events that are used for things, so it only made these events available via scripts too. the MD uses the same events for some of its cue's as wellDeniskos wrote: ↑Fri, 10. Dec 21, 16:47For script commandthere is really not enough event like [Event.SetHomebase]))Code: Select all
$Object -> attach event script: events = 0, script = 'ScriptName'
This allows you to create a new event that you can watch for via other scripts and the MDDeniskos wrote: ↑Fri, 10. Dec 21, 16:47But what this script command is for, I didn't understand something at first glanceWhat is it for?Code: Select all
add script event: name = 'String', script = 'ScriptName'
There is a script command that can trigger these events
the name is the way to identify each event, and you can attach multiple scripts to the same event. So for example, you could trigger some event somewhere, and have any number of scripts that listen for that and do something. This can allow better collaboration between different mods and the MD
its actually used by the explorers guild script to trigger the Terran Plot from the comm script