mezlo Posted May 6, 2006 Share Posted May 6, 2006 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 More sharing options...
mezlo Posted May 6, 2006 Author Share Posted May 6, 2006 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 More sharing options...
Wookiee Posted May 7, 2006 Share Posted May 7, 2006 ok you can display it in a messagebox :) but glad you got it to work. :) did this alot in morrowind when testing the memod game mechanics Link to comment Share on other sites More sharing options...
Myydraal Posted May 7, 2006 Share Posted May 7, 2006 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.