Any help would be much appreciated.
ScriptName AddArhonianHeartref actorBegin GameMode let actor := GetFirstRef 69 1 While actor if actor.GetDead if actor.GetRace == <argonian editor id> if actor.GetItemCount heartToken == 0 actor.AddItem heartToken 1 actor.AddItem argonianHeart 1 endif endif endif LoopEnd
scn JMStoneSCRIPTfloat rechargeTimerbegin gameMode if IsActionRef player == 1 Activate endifendbegin onActivate set rechargeTimer to 0endBegin gameMode set rechargeTimer to rechargeTimer - getSecondsPassed if rechargeTimer>0 return endif cast StandardShockDamageTarget1Novice player set rechargeTimer to 10end
float NoHealthSleptfloat HealthSlept ; the health you go to rest withshort doonceshort bNoSleepHeal; set in an .inishort vampireSleptBegin GameModerun batchscript blahblah (I mean that I've checked that the .ini loads correctly only once after loading, so bNoSleepHeal == 1)If PCVampire > 0 if ( vampireSlept ) Player.ModAV2 Health NoHealthSlept set vampireSlept to 0 set doonce to 0 else set vampireSlept to 0 set doonce to 0 endifendifendBegin MenuMode 1012if PCVampire > 0 if bNoSleepHeal if doonce == 0 set HealthSlept to Player.GetAV Health set NoHealthSlept to ( 0 - (( Player.GetBaseAV Health ) - HealthSlept )) set doonce to 1 endif if IsTimePassing set vampireSlept to 1 endif endifendifEnd