Changes

Jump to navigation Jump to search
m
Added additional explanation on animation
Line 152: Line 152:  
|-
 
|-
 
| <tt>animation</tt>
 
| <tt>animation</tt>
| ''(optional)'' The animation to play when the NPC reaches the destination. This must be a key that appears in the <tt>Content/Data/animationDescriptions.xnb</tt> file.
+
| ''(optional)'' The animation to play when the NPC reaches the destination. This must be a key that appears in the <tt>Content/Data/animationDescriptions.xnb</tt> file. Each key entry has three parts: pre animation/looping animation/post animation. The numbers on them refer to the [[Modding:NPC data#Overworld sprites|overworld sprite frame]]. The pre animation will play after arriving at the schedule point. Then the looping animation will loop until the end of schedule time. Finally, the post animation will play before moving on to the next schedule point. Note that each frame is around 120ms so duplicates of frame is used to get desired looking animation.
 
|-
 
|-
 
| <tt>dialogue</tt>
 
| <tt>dialogue</tt>
3

edits

Navigation menu