Pasted from Construct 2 Manual:
Function conditions:
Compare parameter
Compare the value of one of the parameters to a function call. This condition should only be used in an On function event, since outside of function calls there are no parameters set.
I think the bold text is the answer