XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 2 of 2

Thread: Yala quest

  1. #1

    Join Date
    May 2015
    Posts
    92
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Yala quest

    Hello brother
    I've planned to make yala quest script and i will post it but i need simple code for this part
    ( Kill Tormented Ghosts and use the Ghost Residue on the charm thrice — this will make 6 more Tormented Ghosts appear. At this point the Ghost Charm will then change into a Charged Ghost Charm.)
    i wanna code that use dead ghost on (x,y,z)
    so any one can help
    i will post it here when i finishing it free
    @Jontor
    @Oscagi

  2. #2
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Try thinking something with the code below
    Code:
    local pos = Self.Position()
    
    for x = -7, 7 do
        for y = -5, 5 do
            if (Map.GetTopUseItem(pos.x + x,pos.y + y, pos.z).id == <dead ghost id here>) then
                return {x = pos.x+x, y = pos.y+y, z = pos.z}
            end
        end
    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
  •