Skip to content
Haru edited this page Oct 19, 2016 · 1 revision

Table of Contents

Syntax

  • setwall "<map></map>",<x></x>,<y></y>,<size></size>,<dir></dir>,<shootable></shootable>,"<wallname></wallname>";
  • delwall "<wallname></wallname>";

Description

Creates an invisible wall, an array of "setcell" starting from x,y and doing a line of the given size in the given direction. The difference with setcell is this one updates the client part too, to avoid the glitch problem. Directions are the same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc.

Examples

 -	script	setwall	-1,{
 	[[end]];
 [[OnInit]]:
 	setwall "prontera",64,102,4,2,0,"PrtWall";
 }

See Also

Category:Script Command
Clone this wiki locally