Rivers Posted January 11, 2020 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 244 Reputation: 57 Joined: 12/04/13 Last Seen: March 16 Share 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 Link to comment Share on other sites More sharing options...
0 Mabuhay Posted January 11, 2020 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Share 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 Link to comment Share on other sites More sharing options...
0 Rivers Posted January 11, 2020 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 244 Reputation: 57 Joined: 12/04/13 Last Seen: March 16 Author Share Posted January 11, 2020 Thank you very much! Quote Link to comment Share on other sites More sharing options...
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
//============================================================
Link to comment
Share on other sites
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.