Jump to content
  • 0

make npc show when day or night?


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

how to make npc show up when its Night or Day mode?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

use OnClock +

*hideonnpc "<NPC object name>";

*hideoffnpc "<NPC object name>";

or

*disablenpc "<NPC object name>";

*enablenpc "<NPC object name>";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

- script Anne -1,{
OnInit:
disablenpc "Anne Curtis";
end;
OnClock0600:
OnClock1800:
enablenpc "Anne Curtis";
Hyrule,190,214,5 script Anne Curtis 465,{
if( pudge ) {
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to Pain's Six Paths Dungeon!!",bc_all;
end;
}
if( countitem(6048) >= 20 && countitem(7078) >= 5 && countitem(6153) >= 1000) {
delitem 6048,20;
delitem 7078,5;
delitem 6153,1000;
set pudge, 1;
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to !!",bc_all;
} else {
warp "dicastes01",210,168;
dispbottom "ee";
}
end;
}

is that right? >.<

bump

bump...

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

hyrule,190,214,5 script Anne Curtis 465,{
if( pudge ) {
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to Pain's Six Paths Dungeon!!",bc_all;
end;
}
if( countitem(6048) >= 20 && countitem(7078) >= 5 && countitem(6153) >= 1000) {
delitem 6048,20;
delitem 7078,5;
delitem 6153,1000;
set pudge, 1;
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to !!",bc_all;
} else {
warp "dicastes01",210,168;
dispbottom "ee";
}
end;
OnInit:
disablenpc "Anne Curtis";
end;
OnClock0600:
OnClock1800:
enablenpc "Anne Curtis";
end;
}

Did not test that at all corrected what I can tell was wrong without testing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

ok i will test it thank you...

Question:

OnInit:

disablenpc "Anne Curtis";

end;

OnClock0600:

OnClock1800:

enablenpc "Anne Curtis";

end;

}

onInit, is automatic disablenpc right?

and

when those OnCLock Triggered:

when will the Anne Curtis NPC will be back to Disable NPC?

Edited by Mr BrycE
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Actually...

hyrule,190,214,5 script Anne Curtis 465,{
if( pudge ) {
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to Pain's Six Paths Dungeon!!",bc_all;
end;
}
if( countitem(6048) >= 20 && countitem(7078) >= 5 && countitem(6153) >= 1000) {
delitem 6048,20;
delitem 7078,5;
delitem 6153,1000;
set pudge, 1;
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to !!",bc_all;
} else {
warp "dicastes01",210,168;
dispbottom "ee";
}
end;


OnInit:
if (isnight()) { disablenpc "Anne Curtis";}
end;
}

You need to add two OnClocks depending on when night and day begins. For the OnClock at night, disable the npc. For the OnClock at day, enable the npc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...