when the trap was "detected" everyone should automatically avoid it by their automatic pathfinding for obvious reason, maybe a force walk option if you want to step on it by purpose.