code

  1. FiftyTifty

    Adding context menu to hireable NPCs

    For my first script, I decided to do something that I thought would be simple. Add a context menu to hireable NPCs (peasants, fighters, etc), that makes them say a line of dialogue. No errors, scripts.dll compiles fine, but an additional entry doesn't appear. Here's what I've done: 1. Created...
  2. Modifying BuffIcons

    Buff Icons are those little green and red icons that appear in the buff icon tray. They show the player when they're poisoned, weakened, have protection cast on them, etc. These are somewhat cumbersome to use in custom coding, so I'm writing this down in case anyone else is struggling... In...
Back