Jump to content

Console Command To Display Function Value


mezlo

Recommended Posts

How can I display the value of a function from the game console? Specifically, I want to see what my current rank is in the various guilds. Looking at the CS Wiki, the function to do this is "GetFactionRank FactionID". However, I haven't been able to figure out how to display this information from the game console.

 

Any help would be greatly appreciated.

 

Mezlo

Link to comment
Share on other sites

I found another way to accomplish what I wanted needed. :D

 

Following the "My First Script" example from the CS Wiki, I created the following script and attached it to the Lockpick:

 

ScriptName HelloWorld

short DBRank
short FGRank
short MGRank
short TGRank

Begin OnAdd
	set DBRank to Player.GetFactionRank DarkBrotherhood
	set FGRank to Player.GetFactionRank FightersGuild
	set MGRank to Player.GetFactionRank MagesGuild
	set TGRank to Player.GetFactionRank ThievesGuild
	Message "DB:  %.0f - FG:  %.0f - MG: %.0f - TG: %.0f", DBRank, FGRank, MGRank, TGRank, 20
end

 

Mez

Link to comment
Share on other sites

If u attatch a script to a quest u can do show questname.variable in the console to show you the varible name.
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...