v2 - {!BIND}
v2
v2 has the same features as v1 except you no longer need to create a Scripts\Bindings\ folder.
Simply annotate your scripts by including !BIND commands into the script's top-level comment:
scriptName BindToSomeActors extends Actor
{
!BIND HodRef
!BIND SvenRef
!BIND HildeRef
}scriptName BindToThePlayer extends Actor
{!BIND}scriptName BindToNewQuest extends Quest
{!BIND $Quest(CoolEditorID)}v1 Features (included)
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