Jump to content
  • 0

PvP Room Auto Disable on WoE Time


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

Please make an npc that disables my PVP room when WoE time.

name of the npc: PVP WARPER

WoE Time: 8:00pm - 9:00pm

tnx =)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

put this inside the PVP Warper.....

OnAgitStart:
hideonnpc strnpcinfo(0);
end;

OnAgitEnd:
hideoffnpc strnpcinfo(0);
end;

the NPC will be hided everytime WOE is started ...and auto unhide after WOE End.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

ohh i see . . thanks again Sir Emistry =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Hmm why you use hideonnpc instead of disablenpc Emistry?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

because i put the script inside the NPC script that he want to disable..

if i use disablenpc here....the NPC wont be able to show up again after WOE End...because the NPC is disabled...it's script wont run ...

unless you put the script above as another NPCs then only it will work..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.01
  • Content Count:  436
  • Reputation:   32
  • Joined:  02/19/12
  • Last Seen:  

what if i want to make the npc not clickable at the time of WOE? then after WOE ended it can be clickable again..??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

OnAgitStart:
end;

Link to comment
Share on other sites


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

what if i want to make the npc not clickable at the time of WOE? then after WOE ended it can be clickable again..??

add this to the very start

if(agitcheck() || agitcheck2()){ end; }

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...