I wanted to define skills so that I can make functions that reference these skills. Instead of writing the lines over again for every state change. This is so I can have different actions pathfinding, without writing all these lines over again.

Defining a vector in a function? Can the entity calling this function store the vector like a skill?