Jump to content

num_killed_in_town()


Recommended Posts

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.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...