I'm trying to make my game so if the "killcounter" variable exceeds a certain value, enemies begin appearing at an increased rate.
i have tried:
if (killCounter.totalCount > 50){
(where killcounter is the actor class and totalcount is the integer variable of the numbers of enemies killed)
however it responds with:
nonstatic variables cannot be referenced from a static context.
pls help!

