Jump to content

training ground barricades


Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

pa request nmn po ng Barricades para sa Training Grounds. 

image.png.a88466e99d70f524fdc2be16e1067855.png

On and Off

 

Thank You,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  248
  • Reputation:   34
  • Joined:  11/19/11
  • Last Seen:  

-	script	Barricade	78,{ 
OnInit:
	
	bindatcmd "gate", strnpcinfo(0)+"::Oncommand", 99,99;
	
	setcell "new_5-1",68,113,68,110,cell_walkable,0; //non walkable
	monster "new_5-1",68,113,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,112,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,111,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,110,""+getmonsterinfo(1905,0)+"",1905,1;
	
end;

Oncommand:
	if(compare(.@atcmd_parameters$, "open" )) goto L_open;
	else if(compare( .@atcmd_parameters$, "close")) goto L_close;
	else{
		dispbottom "type - '@gate open' to open the gate";
		dispbottom "type - '@gate close' to close the gate";
	}
end;

L_close:
	setcell "new_5-1",68,113,68,110,cell_walkable,0; //non walkable
	monster "new_5-1",68,113,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,112,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,111,""+getmonsterinfo(1905,0)+"",1905,1;
	monster "new_5-1",68,110,""+getmonsterinfo(1905,0)+"",1905,1;
end;

L_open:
	announce "The Gate is now OPEN. Good Luck Adventurer.", bc_all;
	setcell "new_5-1",68,113,68,110,cell_walkable,1; //non walkable 
	atcommand "@killmonster2";
end;


}

 

yo mate.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  07/26/17
  • Last Seen:  

@shatowolf You're the best bro!

 

Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

thanks for this

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
Reply to this topic...

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