v1.1 - KISS (Only bind once)
v1.1
Same as v1 with the following added features:
- scripts are not bound to forms, if the form already has a script attached with the same name.
- script binding runs on these events: new game, game loaded
- This means that BIND no longer runs on
cocevents - you must quick save and load to run BIND
- This means that BIND no longer runs on
Total of 212 Lines of Code
Below are the
v1features
v1
The goal for v1 is to be as minimal as possible:
- Bindings are defined in
Scripts\Bindings\ - Each file should contain 1 line per desired "binding" (attach script to something)
- Support for binding to objects by Form ID
NameOfScript 0x14 - Support for binding to objects by Editor ID
NameOfScript dlc1serana - Support for binding to the Player (as an
ActorForm, not aReferenceAlias)NameOfScript $Player - Support for binding to an anonymous/generated
QuestNameOfScript $Quest - Support for binding to an anonymous/generated
Questwith a provided editor IDNameOfScript $Quest(MyCoolQuest) - Support for binding to an anonymous/generated
ObjectReferenceNameOfScript $ObjectObjects are ALWAYS placed in the
WEMerchantChestscell. This is not configurable. - Support for binding to a generated
ObjectReferenceof a specified base Form IDNameOfScript $Object(0x7) - Support for binding to a generated
ObjectReferenceof a specified base Editor IDNameOfScript $Object(FoodSweetroll) - Support for determining what to bind to automatically based on script
extendsNameOfScriptscriptName NameOfScript extends Quest ; Anonymous Quest scriptName NameOfScript extends Actor ; Player scriptName NameOfScript extends ObjectReference ; Anonymous Object scriptName NameOfScript extends CustomType ; CustomType parent(s) checked
- Nothing is configurable
.dlland.pdbprovided ~v1.1is now compiled inreleasedbgTo install, install normally as a mod using your preferred mod manager