shockix Posted February 16, 2008 Share Posted February 16, 2008 Hi. I would like to give Visas a prestige class. So I created 3 scripts. The firts one is to check the level and Goodevil of visas. This one will determine if a specific string appears in vasas dialogue. The 2 last scripts determine if Visas goodevil is greater or lower to a specific value. This way, only dark side (or light side) prestiges classes will appear in the dialogue. The problem is, even if Visas is good (good evil of 99), I can only choose sith classes. Here is the code I use to determine if Sith classes appear in the dialogue : int StartingConditional() { int nAlignLow = GetScriptParameter( 1 ); // The value goodevil must be lower to int nAlign = GetAlignmentGoodEvil( GetObjetcByTag ("VisasMarr"); // Visas Goodevil if ( nAlign <= nAlignLow ) return TRUE; else return FALSE; } Even with a high goodevil, this script returns TRUE. It looks like the function GetAlignmentGoodEvil always return 0 and not the npc goodevil. Does anyone know anything about this function ? If really it doesn't work, how can I get Visas goodevil ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.