Rivers Posted January 11, 2020 Posted January 11, 2020 I need help making an NPC appear at xx:xx o'clock and disappear at xx:xx o'clock. Can someone help me with this please? So far it doesn't work at all.... //============================================================ OnMinute10: OnMinute11: OnMinute12: OnMinute13: // Entrance NPCs //============================================================ Quote
0 Mabuhay Posted January 11, 2020 Posted January 11, 2020 --------------------------------------- *disablenpc "<NPC object name>"; *enablenpc "<NPC object name>"; These two commands will disable and enable, respectively, an NPC object specified by name. The disabled NPC will disappear from sight and will no longer be triggerable in the normal way. It is not clear whether it will still be accessible through 'donpcevent' and other triggering commands, but it probably will be. You can disable even warp NPCs if you know their object names, which is an easy way to make a map only accessible through walking half the time. Then you 'enablenpc' them back. You can also use these commands to create the illusion of an NPC switching between several locations, which is often better than actually moving the NPC - create one NPC object with a visible and a hidden part to their name, make a few copies, and then disable all except one. --------------------------------------- doc/script_commands.txt 1 Quote
Question
Rivers
I need help making an NPC appear at xx:xx o'clock and disappear at xx:xx o'clock. Can someone help me with this please? So far it doesn't work at all....
//============================================================
OnMinute10:
OnMinute11:
OnMinute12:
OnMinute13:
// Entrance NPCs
//============================================================
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.