Aller au contenu

Photo

Request / Suggestion for Axe re KWW


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Melkior_King

Melkior_King
  • Members
  • 135 messages
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.

#2
jmlzemaggo

jmlzemaggo
  • Members
  • 1 157 messages
You might awnt to post this in the "scripting" forum?
Where you'd get better answers.

#3
Melkior_King

Melkior_King
  • Members
  • 135 messages
Grrr. How did I manage such a noobish mistake? Re-posting in the correct forum now.

#4
jmlzemaggo

jmlzemaggo
  • Members
  • 1 157 messages
Mistake is my everyday. That's how I know when I see one. :o 
Don't fight them. They'd win. 
'better making friends right away.