Jeppe Posted October 22, 2015 Author Share Posted October 22, 2015 Hello! I'm wondering if it's possible to make a NPC warper of some kind where, if there's people in the map, new people cannot come.I'll explain with a picture:![](http://i.imgur.com/WxP6HhT.png)Anyone know how to do this?? I want people not be able to enter a map if the map alredy has people in it.Like this:"Party 1 joins map""Party 2 tries to join map""Party 2 fails""Party 1 completes the task inside the map and get warped back to the hub""Party 2,3,4,5 are now free to enter the map""Party 3 joins the map"If you dont understand, just tell me, but anyone know how to do this NPC warper command thingy?And is it possible to do in Events in the client? Link to comment Share on other sites More sharing options...
Joyce Posted October 22, 2015 Share Posted October 22, 2015 Not many engines have this in there by default, none in the method you've described here. There's some that will let you instance a map for you and your party, but this would not limit another party at all and they too would get their own instanced version of the map.You'd have to make this yourself, or hope someone happens to have it around as it's not supported by default. Link to comment Share on other sites More sharing options...
Jeppe Posted October 22, 2015 Author Share Posted October 22, 2015 What do you mean with that they get their own instance of the map?Do you mean that the map re-creates itself and splits it for 2 parties?Nvm.. that didnt work :/ Link to comment Share on other sites More sharing options...
Joyce Posted October 22, 2015 Share Posted October 22, 2015 Pretty much, every party (or seperate player) would get their own version of the map. I believe EO4 has this, and maybe Worlds if memory serves me. Link to comment Share on other sites More sharing options...
Jeppe Posted October 22, 2015 Author Share Posted October 22, 2015 Hmm, doesnt look like the skywyre version has it, I'll try on WorldsI tried EO4 and it looks like that version doesnt have the "party map" option.I tried worlds but I could only connect with 1 playerAnyone know anything about it? :S Link to comment Share on other sites More sharing options...
Genusis Posted October 22, 2015 Share Posted October 22, 2015 None of the engines have the system that you want built into them. You will need to either find a tutorial for one or make it yourself. technically it would not be hard to add since all you would need to do is add a variable to hold how many players are on the map and another to hold how many players allowed on the map IF its considered a limited map. SO overall3 variables 1 for count, 1 for max, and a Boolean for if its a limited map. you will need to have the max and Boolean set within the map structure to allow editors to change the data types. And the count only needs to be server side.server side check to see if the max is reached if there is a map limit if not allow them to enter the map otherwise return a packet saying you can not enter as the map is full. This tends to be a easy method to support a few players at a time on a map. Your npc one would require the use of the npc to spawn them into the map when the map is freed up. Link to comment Share on other sites More sharing options...
jcsnider Posted October 22, 2015 Share Posted October 22, 2015 It would take very minimal effort to add a "PlayersOnMap" check to the event systems conditional branch. That would work until a group logged out and logged back in after another group got into the map. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted October 22, 2015 Share Posted October 22, 2015 Could have an event on the map checking the players, but you'd have to add a new check of if they are in the same party. Then have it change a conditional branch and kick all players if there is more than one party and just have the Event outside not let anyone in if there is a party already in. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now