Tips for NPC Movement in Events

From 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

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):
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):
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

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:
jump Clint/faceDirection Clint 0 true/pause 90/faceDirection Clint 3 true/pause 90/faceDirection Clint 2 true/pause 90/faceDirection Clint 1 true/