Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I'm having troubles triggering a wall that prevents one team from collision while allowing another to pass through, I can't use turn collide off and I can't use regions, is there a way to do this?
Yes, u can use a periodic to check if there´s any "ally" of the wall in some range and then it opens . Use a unit group and remove leaks. Tell me if you want it triggered
That's not what i mean, I thank you for trying, the situation is that in my nazi zombie map, I'm attempting to make it so that the broken barricade blocks the players, but not the zombies.
Well that was a bit what I mean.
I think i know what exactly what you want.
So, the one that is the zombies is a computer if i dont misstake. I have the solution for you. You can make it un-smoother by using another periodic time. Like 1 second or less.
Wall Check
Events
Time - Every 0.30 seconds of game time
Conditions
Actions
Set Players = (All players matching (((Matching player) controller) Equal to User))
Player Group - Pick every player in Players and do (Actions)
Loop - Actions
Set PickedPlayer = (Picked player)
Set WallGroup = (Units in (Entire map) matching ((Unit-type of (Matching unit)) Equal to Footman))
Unit Group - Pick every unit in WallGroup and do (Actions)
Loop - Actions
Set Wall_Loc = (Position of (Picked unit))
Set Wall = (Picked unit)
Set Temp_Group = (Units within 100.00 of Wall_Loc matching (((Matching unit) belongs to an enemy of PickedPlayer) Equal to True))
Unit Group - Pick every unit in Temp_Group and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
EDIT: Change the Unit type to the Wall instead of a footman. Hopes this works, otherwise tell me and i'll try to fix it. It may also cause bugs because if a player is withing 100 of the wall and a zombie also is that, the player can also go throught the wall but that is easy to fix, just remove the matching condition in the temp group and add it to the If The Else - Action and also add a thing that checks that there aren't any Player there also. If there's, neither the zombie or the Player can get throught the wall. Hopes you understand me. Tell me if there's any problem and i shall fix it =)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.