1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Node Framework in RuneMate

Discussion in 'Programming & Hardware' started by Pruxis, Oct 23, 2015.

  1. Pruxis

    Joined:
    Oct 21, 2015
    Messages:
    19
    Likes Received:
    2
    Hi Community,

    I have made bots in the past in different communities and have always prefered the Node / Task framework.
    I was just wondering how the onLoop actuality functions.

    As I used to do the following in other clients:
    Code (Javascript):
    1. @Override
    2.     public void onLoop() {
    3.         for (Task task : TASKS) //TASKS being an array of Task child-objects.
    4.             if (task.activate()) {
    5.                 task.execute();
    6.             }
    7.     }
    Kind regards,
    Lavaert
     
  2. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    TaskScript exists within runemate
     
    Derk likes this.

Share This Page

Loading...