Results 1 to 3 of 3

Thread: How to get varliable traped thet is used in OnlyIFTraped in targetting->Monster

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    How to get varliable traped thet is used in OnlyIFTraped in targetting->Monster

    I wonder if i can display when my char got traped... how thet function was made.

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Like this?
    PHP Code:
    if System.GetSetting([[Settings/Targeting/Monsters/Rat/OnlyIfTrapped]]) == [[yes]]) then
    ..
    else
    ..
    end 

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    if istrapped() then .. else .. 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
  •