Author Topic: Request / Suggestion for Axe re KWW  (Read 382 times)

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
Request / Suggestion for Axe re KWW
« on: December 26, 2011, 09:36:17 am »


               Axe,  I like your Killer Walk Waypoints system, but it's lacking one thing I need.

I'd like to have the ability to run a script when the NPC arrives at a waypoint.  Maybe two scripts at different times.

Specifically, when the NPC arrives, a script defined in a string variable on the waypoint runs on the NPC.

If there's a delay before the NPC moves on, then a second script also defined in a string variable on the waypoint runs on the NPC after the delay.

If the string for the script is blank, then running that script is skipped.

If there's zero delay, only the onarrival script is checked or run.

I'm sure you can think of a heap of enhancements, but those are the basics I'd like.

The reason?  I want a lamplighter to walk around my town's streets lighting the lamps at dusk and unlighting them at dawn.

I could code it myself but your waypoints system already has features I want and why reinvent the wheel?

I think this would be a useful enhancement for your system.
               
               

               
            

Legacy_jmlzemaggo

  • Hero Member
  • *****
  • Posts: 1869
  • Karma: +0/-0
Request / Suggestion for Axe re KWW
« Reply #1 on: December 26, 2011, 10:02:12 am »


               You might awnt to post this in the "scripting" forum?
Where you'd get better answers.
               
               

               
            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
Request / Suggestion for Axe re KWW
« Reply #2 on: January 09, 2012, 10:06:21 am »


               Grrr.  How did I manage such a noobish mistake?  Re-posting in the correct forum now.
               
               

               
            

Legacy_jmlzemaggo

  • Hero Member
  • *****
  • Posts: 1869
  • Karma: +0/-0
Request / Suggestion for Axe re KWW
« Reply #3 on: January 09, 2012, 11:29:30 am »


               Mistake is my everyday. That's how I know when I see one. '<img'> 
Don't fight them. They'd win. 
'better making friends right away.