Mod articles
-
The core of the Alias Framework is a quest, which has a script that is called by a magic effect from an NPC. This magic effect is set up with a selection of Messages, or Formlists of Messages (or nested formlists of formlists of messages).
On the quest, there is a selection of aliases which are name replacement tokens, e.g. <name1><name2><name3>, with a script that assigns Message records to replace each <name> field. The quest contains the renaming script, which is called from a 2nd short spell on each NPC- this is where the variables used in the renaming are assigned. This spell is applied to NPCs using SPID.
On the magic effect applied by the spell there is an Array of a data struct. The script will iterate through each entry, and use it ...