Im sorry but either i dont understand that or your not understanding my question.
I can't add a condition to the action, only the Function Event. I want the action to change the IID.
In general : 
Function ( On "Testing")
                                          Action = choose sprite with IID 1
                                          Action = rotate the sprite selected above 45 degrees
                                          Action =  wait 5 seconds
                                          Action = choose sprite with IID 2
                                         Action = rotate this particular sprite counter clock wise
"I'm trying to apply actions to each of the  sprites with a certain IID separately "
The way i accomplish that now is : 
"choose sprite with IID 1"  is located in  another Function then called on from "Testing"
It is a System Event and will apply when that function is called then all the actions will apply to that IID as well.
I dont know if this is the only way but id rather have all the particular code in 1 function.