Results 1 to 3 of 3

Thread: setsettings to change variables in setup

  1. #1
    Normal User
    Join Date
    May 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    setsettings to change variables in setup

    how can i change some variables in setup with setsettings?

    like
    "if level >=80 then
    setsettings hpType = "great health potion"

  2. #2
    Normal User
    Join Date
    May 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    bump

  3. #3
    Normal User xavizus's Avatar
    Join Date
    Jun 2013
    Location
    Japan
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    4
    Quote Originally Posted by zGnktibia2@hotmail.com View Post
    how can i change some variables in setup with setsettings?

    like
    "if level >=80 then
    setsettings hpType = "great health potion"
    Hi,
    I am sorry to give you the fact that this is not possible. You have to make a setup with two different variables - hpType and hpType2.
    or you could do in the setup something like this:

    PHP Code:
    if(level >= 80then
        hpType 
    "great health potion"
    else
        
    hpType "strong Health Potion"
    end 

Posting Permissions

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