[QUOTE=rexrainbow] This is a method to call plugin's action from behavior, so that behavior could extend plugin by calling plugin's action.
This could call other behavior's action. It's also useful, too.
[code]cr.behaviors.Physics.prototype.acts.ApplyForceToward.apply(this.physics_behavior_inst, [f, px, py, 0]);[/code][/QUOTE]
Nice! Thanks Rex. Unless you've already updated the function plugin could you have it so if you try and run a string that isn't set as a function it doesn't throw an error saying the function doesn't exist? Would ignoring be better than throwing an error? Anyway thanks for the contribution. I'm using it for an event system.