Results 1 to 7 of 7

Thread: look at player action

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

    look at player action

    Ok so i have a character near the entrance of my spawn where i bot, and i have player on screen alert. Is there any action that will make the bot look at the players?

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    what u mean? check lvls?

  3. #3
    iBot User
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4
    yea, you know how when you look at a player, it says "you see NAME. He is a royal paladin. He is bla of the bla bla...

  4. #4
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    nope, its not possible to check that information.

  5. #5
    iBot User
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4
    is it at least possible to check their name?

  6. #6
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9

    local C = getcreatures("ps")

    for i = 1, C.count-1 do
    local NAME = C[i].name
    -- variable NAME is the playername
    --[[EXAMPLE]]--
    say("*soder* " ..NAME) -- Will send the player name to character soder
    --[[/EXAMPLE]]--
    end
    Last edited by soder; 10-20-2013 at 08:32 PM.

  7. #7
    iBot User
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    4
    Thanks, this works, but every once in a while it will ignore a player

Posting Permissions

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