Jump to content
  • 0

make npc show when day or night?


Question

5 answers to this question

Recommended Posts

Posted

- 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

Posted

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.

Posted (edited)

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
Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...