Jump to content
  • 0

1 npc and 1 supp about other npc


rbO

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   1
  • Joined:  12/18/13
  • Last Seen:  

First i need one special warp, like when is sunday 17pm-19pm this portal is open and on the other days and times this portal is closed!

 

 

And about the npc that I need help with: it's good, but on woe days he would be counter productive to what I'm trying to do. So, is there any way that I can make him disappear when woe starts and make him reappear when it's over?

 

 

 

sorry about my bad english


help

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

yep sure, just need a few details:

 

- where do you want your warp to be and where do you want it to warp people?

 

- do you want to make annoncements? if yes what do you want to annonce?

 

- if a woe is set from 17' to 18' , do you want the warp to last till 20' so that the warp is still enabled for 2 hours?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  52
  • Reputation:   1
  • Joined:  12/18/13
  • Last Seen:  

- warp portal is: que_qaru02,272,317 to arug_cas01,281,93

 

- Yes like: "A woe Começou e o CloneWars foi desativado!"

 

- This portal only open 17h to 19h sunday <<just this time and this day and not need to enable this warp on 20h

Edited by rbO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

que_qaru02,272,317,4	warp	SpecialWarp	2,2,arug_cas01,281,93;

-	script	WarpEnabler	-1,{
OnInit:
	if (gettime(3) < 17 || gettime(3) >= 19) disablenpc "SpecialWarp";
	end;
OnClock1700:
	enablenpc "SpecialWarp" ; announce "It's 17'! You can now enter Clone Wars dungeon.",0;
	end;
OnClock1900:
	disablenpc "SpecialWarp" ; announce "Too bad it's 19'... The Clone Wars dungeon is closed.",0;
	end;
OnAgitStart:
	disablenpc "SpecialWarp" ; announce "A woe started and so the Clone Wars dungeon was closed.",0;
	end;
OnAgitEnd:
	if (gettime(3) >= 17 && gettime(3) < 19) { enablenpc "SpecialWarp" ; announce "Woe ended and so the Clone Wars dungeon is opened untill 19'.",0; }
	end;
} 

I'm not quite sure I understood what you wanted so I made this one juste in case.

This one will only erase de warp the moment it lasted 2 hours so that the time passed in woe doesn't count

que_qaru02,272,317,4	warp	SpecialWarp	2,2,arug_cas01,281,93;

-	script	WarpEnabler	-1,{
OnInit:
	if (gettime(3) >= 17 && gettime(3) < 19) { initnpctimer; setnpctimer ((18-gettime(3))*3600000 + (59-gettime(2))*60000 + (60-gettime(1))*1000); }
	else disablenpc "SpecialWarp";
	end;
OnClock1700:
	enablenpc "SpecialWarp" ; announce "It's 17'! You can now enter Clone Wars dungeon.",0;
	initnpctimer;
	end;
OnTimer7200000:
	stopnpctimer;
	disablenpc "SpecialWarp" ; announce "The Clone Wars dungeon lasted 2 hours and so was closed.",0;
	end;
OnAgitStart:
	disablenpc "SpecialWarp" ; announce "A woe started and so the Clone Wars dungeon was closed.",0;
	stopnpctimer;
	end;
OnAgitEnd:
	if (getnpctimer(0) < 7200000) {enablenpc "SpecialWarp" ; startnpctimer "SpecialWarp" ; announce "Woe ended and so the Clone Wars dungeon is opened for "+(getnpctimer(0)/3600000)+" hours "+((getnpctimer(0)/60000)%60)+" minutes.",0;}
	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...