Evelynn Posted August 2, 2013 Posted August 2, 2013 (edited) You can add walls to a particular area of the map. However, if you have random spawn points, the monsters may spawn inside the wall. I do not know if there is a check for monster position. *setwall "<map name>",<x>,<y>,<size>,<dir>,<shootable>,"<name>"; *delwall "<name>"; 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 update client part too to avoid the glitch problem. Directions are the same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc. Edited August 2, 2013 by Evelynn 1 Quote
xienne15 Posted August 3, 2013 Author Posted August 3, 2013 You can add walls to a particular area of the map. However, if you have random spawn points, the monsters may spawn inside the wall. I do not know if there is a check for monster position. *setwall "<map name>",<x>,<y>,<size>,<dir>,<shootable>,"<name>"; *delwall "<name>"; 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 update client part too to avoid the glitch problem. Directions are the same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc. They say i can use unitwarp to warp the monster when ontouchnpc is used in a script but no idea how to do that lol! Quote
Question
xienne15
is this possible?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.