How do I call that function from within the script? What is the syntax to call a function from inside a quest script?
;MM give the player powers after x feedsFunction VampireFeedCountPowers(Actor Player) If Feedcount >=500 ;Immortal Kiss. Turn mortals into subserviant vampires. ElseIf Feedcount >=400 ;add 400 powers here. Greater Vampire Speed, transform into a dire wolf. ElseIf Feedcount >=350 ;add 350 powers here. Resist paralasis +25. Mortis shield gives a 25% increase in unarmored protection. ElseIf Feedcount >=300 ;add 300 powers here. Vampiric Seduction. Convince non hostile NPCs to go to bed so you can feed on them. Ones that like you will offer their neck to you for feeding on the spot. ElseIf Feedcount >=250 ;add 250 powers here. Vampiric Domination. Undead Frenzy. Forces lower level undead into a frenzy to fight for you. Vampiric Regeneration II ElseIf Feedcount >=200 ;add 200 powers here. Eviscerate. (vampire finishing move that cuts heads off with claws) Elseif Feedcount >=175 ;add 175 powers here. Vampiric Charm. Convince people to give bottled blood if they like you (people you have done quests for). Make thralls (mortals Elseif Feedcount >=150 ;add 150 powers here. Shadow Master. Fortify sneak, muffle Elseif Feedcount >=125 ;add 125 powers here. Vampiric intimidation. (Fortify chance of intimidation by 40). Can bottle blood from sleeping people. Elseif Feedcount >=100 ;add 100 powers here. Vampire strength. Increase carry capacity by 100 and get super jump. Elseif Feedcount >=75 ;add 75 powers here. Claws which boost h2h damage & unlimited fall damage. Elseif Feedcount >=50 ;add 50 powers here. Vampiric regeneration and vampire speed (fortify speed toggle power) Elseif Feedcount >=25 ;add 25 powers here. Detect Dead. Resist paralasis +10 Player.Addspell(VampireDetectDead, abVerbose = False) EndifEndFunction
VampireFeedCountPowers(Game.GetPlayer())
VampireFeedCountPowers(Game.GetPlayer())
Function VampireFeedCountPowers(Actor Player)
VampireFeedCountPowers(Game.GetPlayer())
Function VampireFeedCountPowers() Actor Player = Game.GetPlayer()