xienne15 Posted August 2, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Share Posted August 2, 2013 is this possible? Quote Link to comment Share on other sites More sharing options...
Evelynn Posted August 2, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 93 Reputation: 14 Joined: 12/12/11 Last Seen: October 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
xienne15 Posted August 3, 2013 Group: Members Topic Count: 44 Topics Per Day: 0.01 Content Count: 226 Reputation: 11 Joined: 01/09/12 Last Seen: March 15, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Question
xienne15
is this possible?
Link to comment
Share on other sites
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.