Just by reading your post, it's obvious you've mixed up the variable types, because it says "Invalid argument type (integer)" when you're trying to destroy a unit group, not an integer. Are you sure "tempgroup" is a unit-group variable? And tempPoint should be a point variable.
I changed the varaible to unit type and i want to do this
Unit Group - Pick every unit in tempGroup and do (Actions) Unit group - Pick every unit in group and do actions
but when i goto set the pick every unit in temp group i click on the red unit group and the varailbe thing is there but i does not appear on the varaibles drop down list!