deathdisco Posted September 7, 2005 Share Posted September 7, 2005 I'm having trouble with dialog I'm working on(for KOTOR1). I trying to make replies available by what level the PC is. None of the replies are showing up even if the PC is above the level stated in the script. Here's the template I'm working off of: #include "k_inc_debug" int StartingConditional() { if(GetCasterLevel(GetFirstPC()) > 9) { return TRUE; } else { return FALSE; } } I'm not a scripter so I've been working by trail and error. Nothing I've tried has worked so far. I've could of sworn it worked when I first tried it. Link to comment Share on other sites More sharing options...
stoffe Posted September 7, 2005 Share Posted September 7, 2005 I'm having trouble with dialog I'm working on(for KOTOR1). I trying to make replies available by what level the PC is. None of the replies are showing up even if the PC is above the level stated in the script. Here's the template I'm working off of: (snip) if(GetCasterLevel(GetFirstPC()) > 9) (snip) Use GetHitDice() if you want the total character level, or GetLevelByClass() if you want what level the character has in a specific class. Assuming total character level, your script would be: int StartingConditional() { return (GetHitDice(GetFirstPC()) > 9); } Link to comment Share on other sites More sharing options...
deathdisco Posted September 7, 2005 Author Share Posted September 7, 2005 Thanks, that did the trick. I appreciate the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.