Tips for NPC Movement in Events

From The Stardew Modding Wiki
Jump to navigation Jump to search

This is a collection of tips for making NPCs move in unique ways during events! Feel free to add your own tips and advice.

Jumping Commands[edit | edit source | hide | hide all]

by Arknir

These codes are for one tile only, and you just need to adjust the jump and emote commands accordingly. Just warp the character to the tile after you're done with the position offsetting.

Left (Jumping One Tile while Facing Right):[edit | edit source | hide]
emote Clint 16 true/jump Clint/showFrame Clint 4/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/positionOffset Clint -4 0/pause 5/faceDirection Clint 1
Right (Jumping One Tile):[edit | edit source | hide]
emote farmer 16 true/jump farmer/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/positionOffset farmer 4 0/pause 5/faceDirection farmer 1
Down (+) One Tile[edit | edit source | hide]
Up is negative (-) y-axis, so change accordingly
emote Abigail 0 4/jump Abigail/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/pause 5/positionOffset Abigail 0 4/
Full Circle Jump:[edit | edit source | hide]
jump Clint/faceDirection Clint 0 true/pause 90/faceDirection Clint 3 true/pause 90/faceDirection Clint 2 true/pause 90/faceDirection Clint 1 true/