Results 1 to 7 of 7

Thread: GETCREATURE need name

  1. #1
    iBot User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    23
    Rep Power
    4

    GETCREATURE need name

    hello D: i dont know how to say it.
    ok i need to get creatrue name from posx -2
    for example i need to say
    say(getcreature("p").name.x-2)
    and if on posx -2 stay "rex" then he say "rex"
    i dont know how to do it

  2. #2
    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
    You want to check if a monster is on posx-2? And if there is a monster, find it's name?

    For the first part there is a boolean

    iscreatureontile(posx-2, posy, posz).... However, since you can bearly find the works to ask the question, Id say there is probably an easier way to achieve whatever it is you are trying to do...

    So.. What are you actually trying to achieve?
    Last edited by pink_panther; 05-13-2013 at 11:41 PM.

  3. #3
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    using sirmate library, here is the code:
    Tile.GetByPosition(posx-2, posy, posz):TopCreature():Name()


    tbh, your english is so hard to understand, try to explain again.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  4. #4
    iBot User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    23
    Rep Power
    4
    Thanks dehan!

  5. #5
    iBot User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    23
    Rep Power
    4
    next ask ;D
    i need script that if someone is sqm next to me(west) then he turn to him

  6. #6
    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
    Just say what you are trying to do...

    would be easier to help if we had the context in which the action will be used.

  7. #7
    iBot User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    23
    Rep Power
    4
    i get this what i want, this what i will do its secret ;D i will show you when im 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
  •