Priority

MagicTimm

Member
Hi, with GetPriority() we get the priority of f.e. the Evaluate action (from the example UtilityTheorySample). But it's always 0. I want to use the Priority Selector but don't know how. Can you give me some explanation or tell me where I can find some more information?
My plan it to start a task with SetPriority.
 
Take a look at the Utility Theory scene as an example. The GetPriority method has to be overridden and the sample scene does a good job showing how it's done.
 
Oops, GetPriority is not used by the Utility Selector. It is GetUtility. This method is implemented in the Evaluator and Evaluate sample tasks.
 
You can't use GetPriority for utility theory. You should use GetUtility.
 
Top