DBD closet mechanics

So im smart enough to figure this out but im having a brain f@rt… When a player hides in a hidding spot and the hunter checks 1 of three things happen

  1. Player isnt there and hunter gets speed debuff
  2. Player is there and hunter deals extra damage and disables the hiding spot for some time
  3. Player exits before hunter checks and hunter is stunned for a bit.

Like i said i could figure this out but im fried rn

For each hiding spot: player enters zone: increment counter. Decrement when leaving. This updates a property.

Also, when entering the zone, check (with block code) if it’s the hunter. If it is, see if the number of players in the zone > 1. Yes, they’re in there. No, nobody’s in there.

For the leaving mechanic, just have a timer after the “leave zone”. That checks to make sure they aren’t the hunter and then sets a period of time to where on the “enter zone” and it’s a hunter, if the counter is > 0, stun them.

2 Likes

1.Speed modifier
2.Deactivate button for that hiding spot & turn it back on with a wire repeater
Idk what device changes damage so just take hunter’s gadget and replace it with legendary for while(Pretty mid solution don’t use it)
3.set speed to 0 for a while

1 Like

ok so when player enters the hiding spot increment counter (Sigle counter per hiding spot) and connect them to their own property?

Example: Hide1, Hide2, ect?

Then if hunter checks the hiding spot check the property and in greater than or equal to 1 send signal on channel that plays the damage thing?

But if less than or equal to 0 play stun.

Then for if person runs out before check have a stun zone?

1 Like

The counter property is global. And only greater than 1, not greater than or equal to one.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.