This is my Quest Script that should be assigning the variables and hopefully passing them along or at least be storing them so my other script can retrieve them. Ive tried playing around with Globalvariable instead of Int but that didn't seem to be of any help unless I just did it incorrectly.
Scriptname PsiNecromancyQuestScript extends Quest Int Property PsiUpkeepcharge autoInt Property PsiHasHastenDead autoInt Property PsiHastenDeadHealthBonus autoQuest Property PsiNecromancyQuest AutoFloat CheckonceAEvent OnInit() PsiUpkeepcharge = 30 while PsiNecromancyQuest.Getstage() < 10000 If PsiNecromancyQuest.GetStage() == 150 If CheckonceA == 0 PsiHasHastenDead = 1 PsiHastenDeadHealthBonus = 40 Debug.Messagebox("Player Has Gained the Hasten Dead Bonus") CheckonceA = 1.0 Endif Endif EndWhileEndEventTrying to retrieve my Quest Properties into my Active Magic Effects Script here.. But not having any luck
Scriptname PsiSummonScript extends activemagiceffect PsiNecromancyQuestScript Property PsiNecromancyQuest Autofloat Checkonce1Event OnEffectStart(Actor Target, Actor Caster) if Checkonce1 == 0 Game.GetPlayer().ModActorValue("Magicka", - PsiNecromancyQuest.PsiUpkeepcharge) Checkonce1 = 1.0 Debug.Messagebox("Player Charged Magicka Upkeep!") if PsiNecromancyQuest.PsiHasHastenDead == 1 Target.ModAv("Health", PsiNecromancyQuest.PsiHastenDeadHealthBonus) Debug.Messagebox("The Summon Has been buffed!") Endif EndifEndEventEvent OnEffectFinish(Actor Target, Actor Caster) Game.GetPlayer().ModActorValue("Magicka", PsiNecromancyQuest.PsiUpkeepcharge) Checkonce1 = 0 Debug.Messagebox("Player No longer Charged Magicka Upkeep!") if PsiNecromancyQuest.PsiHasHastenDead == 1 Target.ModAv("Health", - PsiNecromancyQuest.PsiHastenDeadHealthBonus) EndifEndEventSo I'm guessing either what I want to do is not possible or obviously there is something here I'm just not getting right. Would greatly appreciate some help!
--[[User:PsiSoldier|PsiSoldier]] 21:02, 21 April 2012 (EDT)

