set LocalActorRefVar to MyQuestScript.QuestActorRefVar
(er... I think I have the syntax right on that example, but you get the idea even if I do not.)
Can something like that be done in Skyrim?
I think this (from the Wiki in the Variables and Properties section) may be what I need but I am not exactly getting it. Will this work for an ACTOR REF?
Scriptname mySpellEffectScript extends activemagiceffectmyQuestNameScript Property myQuestRef autoEvent OnEffectStart(Actor akTarget, Actor akCaster)myQuestRef.PublicInt = 20 ; This will change the damage for the DamageTargBasedonPublic FunctionmyQuestRef.DamageTargBasedOnPublic(akTarget) ; You can manipulate this damage by changing PublicDamage Prior to calling itmyQuestRef.DamageTargBasedOnPrivate(akTarget) ; This will always do 30 damage unless the quest changes the private variableEndEvent
