- Joined
- Mar 24, 2011
- Messages
- 1,082
So here is the situation: I got an area where the user player can build stuff. He can form parties with the units he has to explore the map.
Units can't leave the build area without being in a party
There is a max number of parties a user player can have at a time.
Parties stay together. ( Units dont strand )
There is a limit to the number of units which can join a party.
So a user player units can't leave the build area without being in a party but there are npc players (3 of them) which can atack the build areas of user players >> Their units need to be able to enter build areas.
So which is the best way to make some units able to pass through lets call it a gate and some can't.
I have a few ideas of my own but I would like to know if there is a better way and what i have to watch for.
Some of the ways I thought:
--1) Make them fully unpassable(cliffs/doodads/patchingblockers)and use regions to move units from side to side.
Cons I see : Hard to use. Needs to register a lot of regions or points. Would look ugly (the unit wont walk through but be tp through).
Pros I see: Well... ... ... it would work...
--2) Using patching blockers. The units which can pass will become flying.
Cons I see: Idk how that would look like. Will test sometime. Afraid to not fail with heights to make them look like ground units.
Pros: Easy and fast to use. Just paste some patchingblockers and some triggering (if making a flying unit look like ground isn't too complicated)
--3) Make them fully unpassable(cliffs/doodads/patchingblockers) and use Waygates.
Cons I see: Would look ugly (the unit won't walk through but be tp through (it would look a bit better than 1) ) ).
Pros I see: A lot less triggering and registering than 1).
--4) Other ideas ?
Edit//I would go with 2) but don't know if there would be any problems or if therr is a better way. I am asking because I am far away from the party system and units and npc players. If I was near it I would have tested right away.
Edit2// I see now that I named metod 2) Patching blockers. It should be Make units flying... idk how to edit polls if it's even possible...
Units can't leave the build area without being in a party
There is a max number of parties a user player can have at a time.
Parties stay together. ( Units dont strand )
There is a limit to the number of units which can join a party.
So a user player units can't leave the build area without being in a party but there are npc players (3 of them) which can atack the build areas of user players >> Their units need to be able to enter build areas.
So which is the best way to make some units able to pass through lets call it a gate and some can't.
I have a few ideas of my own but I would like to know if there is a better way and what i have to watch for.
Some of the ways I thought:
--1) Make them fully unpassable(cliffs/doodads/patchingblockers)and use regions to move units from side to side.
Cons I see : Hard to use. Needs to register a lot of regions or points. Would look ugly (the unit wont walk through but be tp through).
Pros I see: Well... ... ... it would work...
--2) Using patching blockers. The units which can pass will become flying.
Cons I see: Idk how that would look like. Will test sometime. Afraid to not fail with heights to make them look like ground units.
Pros: Easy and fast to use. Just paste some patchingblockers and some triggering (if making a flying unit look like ground isn't too complicated)
--3) Make them fully unpassable(cliffs/doodads/patchingblockers) and use Waygates.
Cons I see: Would look ugly (the unit won't walk through but be tp through (it would look a bit better than 1) ) ).
Pros I see: A lot less triggering and registering than 1).
--4) Other ideas ?
Edit//I would go with 2) but don't know if there would be any problems or if therr is a better way. I am asking because I am far away from the party system and units and npc players. If I was near it I would have tested right away.
Edit2// I see now that I named metod 2) Patching blockers. It should be Make units flying... idk how to edit polls if it's even possible...