Easygoing Eyebeast Enraged Slith Posted July 10, 2007 Share Posted July 10, 2007 Does anyone know how to get around this call since it doesn't work? It's basically the only thing keeping me from releasing my scenario for beta, which I need to get done by tonight. Quote Link to comment Share on other sites More sharing options...
Well-Actually War Trall Niemand Posted July 10, 2007 Share Posted July 10, 2007 To the best of my knowledge, no one has ever gotten that call to work. You can work around it though, by making all of the creature scripts in a town increment an SDF when killed; then you can just check the flag for the number killed. I would do something like: Code: beginstate DEAD_STATE; inc_flag(100,current_town(),1);break; That way you can just insert it into all of your creature scripts and have a killed count in every town. Refinements could be made to count only deaths of creatures hostile to the party, or to accommodate more than 30 towns. Quote Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Enraged Slith Posted July 10, 2007 Author Share Posted July 10, 2007 Thanks for the advice. I wish I had known about that inc_flag() call earlier, as it would have saved me so much time Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.