I would like to be able to store a function in the skill of my entity. For example you may have a function called rotate which you store as skill99 then call rotate using skill99.
Basically I would like to do the following
my.skill99 = myFunctionCalledRotate;
Then within the action for the entity do
function myFunction();
myFunction = my.skill99;
myFunction();
I hope what I am trying to do makes sense. I will try to explain this better if need be.