Jump to content
  • 0
Sign in to follow this  
kerbiii

script for unwalkable wall

Question

4 answers to this question

Recommended Posts

  • 0

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:

 

[1][8][7] [2][0][6] [3][4][5] 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.