Jump to content

[LE] Trying to implement level functionality to a follower


Recommended Posts

I'm trying to make a follower mod and want to implement something where she'll gain perks and spells as the player levels up. Right now my priority is just getting the script to recognize the players level. I'm trying to get a debug message to fire off once they reach level 10, it saves fine, but when i go in-game to test it, nothing shows up.

Scriptname ARMS1VitaLevellingQuestScript extends Quest  

Event OnStoryIncreaseLevel(int aiNewLevel)
	If Game.GetPlayer().GetLevel() >= 10
		Debug.Notification("Level 10")
	EndIf
EndEvent

I'm not exactly sure what I'm doing wrong here, so any help would be appreciated!

 

Link to comment
Share on other sites

Can you just give the follower all perks from the start? Conditions can be applied before they actually do anything. Only thing is I dont recall if "Playerlevel" is one of the conditions you can use, but you def can use GetLevel as a condition

Link to comment
Share on other sites

Can you just give the follower all perks from the start? Conditions can be applied before they actually do anything. Only thing is I dont recall if "Playerlevel" is one of the conditions you can use, but you def can use GetLevel as a condition

It looks like I can do that for perks, but not spells.

 

I figure that they can't use spells that they don't have the magicka for but I don't have a complete understanding of skyrims combat system and don't want the ai to be tempted to use a spell that'll take up all of their juice

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...