zexer333 Posted July 28, 2009 Share Posted July 28, 2009 How to make level check of Revan(kotor)and if it's higher then value i set it will unlock more dialog options. Example:NPc can teach Revan new feats through dialog.If Revan level higher then 15 Revan can ask NPc to teach him Maser Two Weapon fighting,if his level lower then Revan can not learn this feat. Link to comment Share on other sites More sharing options...
Star Admiral Posted July 28, 2009 Share Posted July 28, 2009 Use this script. You can change the 15 to whatever level you need it to be. Put it in the Script That Determines Availability textbox in your dialog file. int StartingConditional() { if( GetHitDice( GetFirstPC() ) >= 15 ) return TRUE; return FALSE; } - Star Admiral Link to comment Share on other sites More sharing options...
zexer333 Posted July 31, 2009 Author Share Posted July 31, 2009 Thanks for script,going to check it out right now. *update*only problem is i can't compile it in .ncs(it's remain in nss),but if i type * void main() * in the upper part of script there is script syntax error at * int * Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.