Jump to content

Really need help with this


silvereden2

Recommended Posts

let me see a screenshot of the script box. Also keep in mind that the game does not by default let you hire kids

 

Thats the script text I use in the script box

 

---------------------------------------------------

Set TeenNisaREF.Waiting to 0

Set TeenNisaREF.Relax to 0

Set TeenNisaREF.IsFollowingDefault to 1

Set TeenNisaREF.IsFollowingLong to 0

Set TeenNisaREF.CombatStyleRanged to 1

Set TeenNisaREF.CombatStyleMelee to 0

Set TeenNisaREF.HasBeenHired to 1

SetPlayerTeammate 1

SetIgnoreFriendlyHits 1

 

TeenNisaREF.evp

-------------------------------------------------------------

Oh btw would you know how to go about adding perks for companions or even custom perks for that matter.

 

This is the progress I made so far.

http://www.youtube.com/watch?v=xuwAIRnCCEI&list=UUNqFa3pjsZ9bcfP5a-773mw&index=1&feature=plcp

Edited by silvereden2
Link to comment
Share on other sites


Set TeenNisaREF.Waiting to 0
Set TeenNisaREF.Relax to 0
Set TeenNisaREF.IsFollowingDefault to 1
Set TeenNisaREF.IsFollowingLong to 0
Set TeenNisaREF.CombatStyleRanged to 1
Set TeenNisaREF.CombatStyleMelee to 0
Set TeenNisaREF.HasBeenHired to 1
TeenNisaREF.SetPlayerTeammate 1<------set to this
TeenNisaREF.SetIgnoreFriendlyHits 1<----set to this

 

Always keep in mind anytime you are setting a variable you HAVE to have a reference. unless it is in a script attached to the object/NPC

Edited by Capt Mitch
Link to comment
Share on other sites

As far as the perks go there are multiple ways of doing this. If you just want a permanent perk just add the perk spell affect to the NPC ACTOR AFFECT LIST.

 

or you can script it in with :

[ObjectRefID].CastImmediateOnSelf SpellID:ref

EXAMPLE:

TeenNisaREF.CastImmediateOnSelf MS03PerkSurvivalExpert

or

TeenNisaREF.CIOS MS03PerkSurvivalExpert

Edited by Capt Mitch
Link to comment
Share on other sites

Thanks Now i'm able to finish My first companion mod up and upload it

 

Your more then welcome and im glad i could help.

You can always give kudos to let people know i was helpful and come check out our companion website and you can see what kind of advanced features are possible. link is below in my signature.

 

Here are a couple links that help me A LOT with scripting.

 

Script Validator

GECK Functions

Edited by Capt Mitch
Link to comment
Share on other sites

  • Recently Browsing   0 members

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