Jump to content

How would I go about making a perk?


Ygfbv

Recommended Posts

As I can't find any tutorials on how to make a new perk, I'll ask...

 

How would I go about making a new perk, that would allow me to add the PC to a faction? I did a quick search on this subforum and found nothing. I can't seem to find any tutorials that explain scripting step by step, so if anyone could point me in the right direction, I'd be grateful.

Link to comment
Share on other sites

It'd be easier to handle adding the PC to a new faction through a script command rather than a perk (and for one I don't think it's possible to change factions with perks) Here's the script command however

 

Player.AddToFaction FactionID Rank

 

Replace FactionID with the ID of the faction and then Rank with the starting rank you want the player to have (generally this is 1)

 

If, for some reason, you wish to remove the player from a faction you would use

 

Player.SetFactionRank FactionID -1

 

The -1 removes the player from the faction. Furthermore if you wish to increase the rank in the faction simply replace the -1 with the next number up.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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