Jump to content

Home

How to make level check.


zexer333

Recommended Posts

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

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

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

Archived

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

×
×
  • Create New...