XenoBot Forums - Powered by vBulletin

User Tag List

Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Add Action (scripting within the walker)

  1. #21

    Join Date
    Dec 2011
    Posts
    164
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sk8er08 View Post
    The difference is simplicity. Instead of opening 10 different script files and trying to reference them with labels all darkstar has to do is make a button labeled "Edit Functions" then it opens the text document, you edit it then CTRL + S and call the function you added in the walker. The idea is that when you create a function like that you can use it anywhere without having to rewrite the function each time for example checking cap, you can have multiple areas of your walker check your cap simply by putting Action(doCheckCap()) and doCheckCap() would be the function you created in functions.lua or w/e darkstar would name it by default.
    You don't need 10 files, only one. The same file you'd need to write the functions itself.

  2. #22
    Administrator
    Join Date
    Dec 2010
    Posts
    2,565
    Mentioned
    228 Post(s)
    Tagged
    1 Thread(s)

  3. #23

    Join Date
    Jan 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well then... that is exactly what I meant! I must not have been crazy after all! Thanks a lot for that link, didn't think to look in that forum xD now if only the targeting was a bit more viable I may be able to take my eyes off my character long enough to watch a movie

  4. #24

    Join Date
    Jan 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just have a question, what if someone makes a bad ass script like the perfect rune shooter sirmate made in neobot, would the seller have to give us the .lua file that goes with it or is there a way to encript it into the bot so no-one else uses it without permision? This might suck if we cant do that idk cuz people will use things like that if people start selling scripts which i am sure we will, idk if i explained myself xD but u get the poijt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •