Results 1 to 3 of 3

Thread: Helpp

  1. #1
    Join Date
    Feb 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Helpp

    Hey all Im slightly confused here by the run energy, I want to add energy support to one of my scripts, when it banks I want it to withdraw an energy pot if it is below 25% run energy, I can make it withdraw, and drink pot, I just cant get it to recognize that it is below 25% run. How would I write a function to check run %?

  2. #2
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by bigbutts5 View Post
    Hey all Im slightly confused here by the run energy, I want to add energy support to one of my scripts, when it banks I want it to withdraw an energy pot if it is below 25% run energy, I can make it withdraw, and drink pot, I just cant get it to recognize that it is below 25% run. How would I write a function to check run %?
    By using the almighty search tool inside the srl library...
    Well to start, you could use
    Simba Code:
    if RunEnergy <= 25 then
    to check the run energy, the banking procedure and drinking procedure is VERY simple, there are several commands (such as OpenBank, GetBankItemAmount, etc) or you can use your own dtms.

    ~Caotom

  3. #3
    Join Date
    Feb 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I kept using run energy wrong >.< Thanks mate! I have everything else! haha

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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