What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Could need some help creating CustomBehaviors

Enclave

New Member
Joined
Mar 1, 2011
Messages
1
Reaction score
0
I would really appreciate it, when someone could help me understanding how to write my own CustomForcedBehavior overrides.

I have read the Wiki and also some existing scripts. But till now i don't understand how the PriorityTree works. Here is what i guess what to do:

-Create a root as Composite
-Then add a PrioritySelector which contains an array of "Action(...)" and "Decorator(...)"
-When the CB has been started, HB will go through this tree an perform the Code written in the Action(...) and Decorator(...) classes.

Then i get stuck cause i don't now how HB is going through this list. And what is the difference between Action and Decorator.
 
Back
Top