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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

MoveTo / Async / Coroutines -- Shameful request for help

Deathdisguise

Community Developer
Joined
Mar 7, 2015
Messages
678
Howdy folks,

I primarily dabble with plugins and the sort, and am quite familiar with Honorbuddy's implementation, however I've found myself getting my butt kicked with the async tasks when attempting to create MoveTo and MoveWithin methods when playing with a simple BotBase.. (haha)

The bane of my existence is implementing coroutines, and escaping the Pulse method, apparently?

Code:
This function can only be used from within a coroutine at Buddy.Coroutines.Coroutine.

So I was wondering if anyone could provide a short example of how to MoveTo/MoveWithin an Actor.Position using coroutines, and forever save me from the above appearing? ;)


EDIT: This post from the RB forums sufficiently put me in the right direction ;)

https://www.thebuddyforum.com/rebor...um/192348-quick-coroutine-plugin-example.html
 
Last edited:
Back
Top