script for unwalkable wall

kerbiii

New member
Messages
342
Points
0
i tried 

setwall and now i cant remove the wall anymore. even if i delete the script the wall stays there.

 
setwall "mapname",x,y,6,7,0,"wallname";

what is the use of (6,7,0)
It means you're creating an invisible wall that starts on coordinates (x, y) on "mapname" and is 6 cells long in the direction 7 (see below); the shootable flag is off (0 = off, 1 = on), meaning that it cannot be hit/targeted, and the name of the wall is "wallname".

Direction 7 means the wall is facing the northeast corner and will continue for 6 cells:

Code:
[1][8][7] [2][0][6] [3][4][5] 
 
Last edited by a moderator:
Back
Top