Hello! I'm pretty new to Fallout modding or papyrus modding in general. But I'm familiar with C# and C++. I would glad if someone could help me with these questions: As I understood, Form is a basic form of any object. ObjectReference is a ???. Actor is a player's entity/AI entity. Are statements above correct? If not, please correct me. I'm struggling to understand how and when game actually loads scripts. For example we have this code:
Scriptname MyTriggerBoxScript extends ObjectReference
Quest Property MyQuest Auto
Int Property StageToSet Auto
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
MyQuest.SetStage(StageToSet)
EndIf
EndEvent(It's from tutorial page) My questions are: If we extend ObjectReference that means that game will automaticly load it up? If yes, then when it will be loaded and activated? When OnTriggerEnter will be called? When player enters ANY trigger in-game or one specific? And my last question: is it possible to look up ALL entities which loaded (even disabled) in the world and iterate them? -Edited: P.S. Is it possible to hook a function in papyrus?