Legacy GM NPC following the Player

S

srchaos

Guest
How i can spawn Npc likes Player 2 with his respective collision, movement and not perfect coordination follow the player. Something like Castlevania Portrait of Ruin
 

Attachments

Joe Ellis

Member
depending on how complicated you want it you can record the players movements into an array or ds_ every x frames, and send tasks for the npc to perform with a delayed fuse, and a chance type filter on each action so it doesnt always copy everything, and if the player does nothing and no task is sent after a defined time, make the npc think/fight for itself
 
Top