19 April 2010

Parting Words

I have taken one step forward towards Awesomeware.

After reviewing sayinitstring (which is the primary "make-an-NPC-speak" script), I added a small section of code which now enables an NPC to react when it is no longer bumped.





As illustrated in this example, the NPC will sing (and rather badly, I might add) while it remains bumped, but when the listener moves away – breaking contact with the NPC...



...the NPC will then speak some "parting words." There is still a lot of work to do on this concept, but it's a good start.

No comments:

Post a Comment