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

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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