so in the example I posted, the engine would read skill1 as STATE? Anyway, why does the error code say "'state' : is not a member of 'ENTITY'". What does this mean? I have tried switching wherever I wrote STATE to skill1 and the script now runs. Was this the right thing to do?