Slap counter script doesn't apply condition
I created an event triggered by slapping certain unit for certain times.
Number value starts with 0
Slap counter script triggered "on slap"
Condition "is a unit" (manually selected from "Map Units" with the correct ID)
Action Add to number "Imp Slaps" by 1
when total is 7 an event is triggered.
But when testing the map, doesn't matter if I slap that spesific unit or even just right click anywhere on the map,
the slap counter is working and triggering the event.
I wanted this script to apply to a spesific unit, that's why the condition was set for "is unit" and selected from a party, which is spawned on start and the unit is renamed.
Perhaps that is the issue. Would you be so kind to test this particular setup with the given circumstances?