Text this: Behaviour Generation in Humanoids by Learning Potential-Based Policies from Constrained Motion