RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RM2k3] NPC system

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 86
im wondering if someone could help me out with this...im trying to make an NPC system with kind of like in the Harvest Moon games (or just A Wonderful Life if anyone has played), what i mean is i want the npcs to come out of their houses at a certain time, walk around or to somewhere, and at a certain time walk back to their house, and yet still be able to talk and interact with them?...would this be possible? i tried using a system that some one else had, but it ended up not working... please help  :'(

****
Bitch
Rep:
Level 87
Bits'n'Pixels
Not quite the same as that, but you can set something similar: 
I have a npc i've set on a custom pattern to go from a building to a cafe, circle it and back again, wait then repeat.  Just do that in the 'define custom pattern' option and get used to learning how long one 'wait' command actually lasts.  You'll also need to know the map pretty well so you don't have the npc walking into walls.

*
Rep: +0/-0Level 86
but is there anyway i could make it still happen while you're inside? like i want to make a person say...get up at 9:00, walk around, do his daily tasks, then when the clock hits 10:00 pm, he starts walking back to his house from wherever his is?...but naturally, wouldnt walking in front/talking to them, or going inside ruin the whole cycle?? thats what i want to get around

****
Bitch
Rep:
Level 87
Bits'n'Pixels
Youu'd probably need to work a day/night cycle for that. (Plenty of tutoials for them around) and rig the event-characters accordingly to act at certain times.  When you talk to them, it shouldn't mess everything up if ou set everything to stop during messages, but the timers wuld be messed up if the hero just stood in their way and stopped them....although i'm not sure how they got around this in other games....

**
Rep: +0/-0Level 85
but is there anyway i could make it still happen while you're inside? like i want to make a person say...get up at 9:00, walk around, do his daily tasks, then when the clock hits 10:00 pm, he starts walking back to his house from wherever his is?...but naturally, wouldnt walking in front/talking to them, or going inside ruin the whole cycle?? thats what i want to get around

A day/night cycle usually revolves around alarm events.  Look up alarms in the help file.  Set a switch for every hour that changes time and have characters respond to that.  It's a little tricky, but just plan it out and you should be fine.