• Visit Rebornbuddy
  • How does OnPulse() Work?

    Discussion in 'Community Developer Forum' started by Wheredidigo, Aug 11, 2014.

    1. Wheredidigo

      Wheredidigo Community Developer

      Joined:
      Dec 15, 2013
      Messages:
      417
      Likes Received:
      8
      Trophy Points:
      18
      Mastahg,

      I was wondering if you could shed some light on how the OnPulse Method is working. I'm working on a CoRoutine CR and I believe not fully understanding how OnPulse works is what is keeping me from fleshing out the final details of my CR. Basically what I think is happening is that the OnPulse method is starting my CR logic over every single time it Pulses which is making me have a very difficult time trying to do any chain logic (ie: Cast SwiftCast and then use Flare). Any insight on how I can get the Pulse to continue from where it left off would be very much apreciated.

      Thanks!
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      The onpulse function runs in its entirety before any of the behavior trees get called on a tick.
       

    Share This Page