Jump to content
  • 0

Guild House Rental


reserve

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  08/01/13
  • Last Seen:  

If anyone could help me script an npc(warp) which allows guild members to access a certain location (house in particular).

it can only be accessed by the guild who held any of the castle in war of emperium .(winner of krimhield etc.)

 

So say a guild has won the krimhield then they gain access to a certain house(guild house) .

 

im thinking , the houses can be any of the prt_in maps.and we can just disable their "original warps" from the game.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

I'd probably use something like this.

 

-	script	Guild_House	-1,{
OnPCLoadMapEvent:
	if(getcharid(2)!=getcastledata("prtg_cas01",1)
	&&strcharinfo(3)=="prt_fild01")
		warp "prontera",100,100;
}

prt_fild01	mapflag	loadevent
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

Oh, i misread Skorm's post for == instead of !=. My bad, good idea. :D

Edited by IceTea
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...