Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Door action

  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    6
    Reputation
    10
    Rep Power
    0

    Door action

    if not islocation() then
    gotolabel('DoorRight','GoDeposit')
    return
    end

    repeat
    useitem(8365, ground($wptx+1,$wpty,$wptz)) wait(500,1000)
    until ($posx == $wptx+1 and $posy == $wpty and $posz == $wptz)


    Alguem poderia me ajudar com uma action tipo essa pra checar se uma porta está aberta ou nao e seguir? Essa action ai é pra aquelas porta de level, queria pra porta comum sem chave! E explicação de como coloar o stand/action se antes ou apos da porta.

    Já tentei fazer de mil maneiras aqui colocando: Use e Actions de islocation.
    Mais o bot sai pulando os waypoint muito rapidoo, e pula as action, pula os node

    Se alguem poder me ajudar em uma action de checar se a porta esta aberta ou nao, agradeço!!

  2. #2
    Moderator SuNe's Avatar
    Join Date
    Dec 2013
    Location
    Sweden
    Posts
    2,880
    Reputation
    186
    Rep Power
    27
    Quote Originally Posted by kaesar View Post
    if not islocation() then
    gotolabel('DoorRight','GoDeposit')
    return
    end

    repeat
    useitem(8365, ground($wptx+1,$wpty,$wptz)) wait(500,1000)
    until ($posx == $wptx+1 and $posy == $wpty and $posz == $wptz)


    Alguem poderia me ajudar com uma action tipo essa pra checar se uma porta está aberta ou nao e seguir? Essa action ai é pra aquelas porta de level, queria pra porta comum sem chave! E explicação de como coloar o stand/action se antes ou apos da porta.

    Já tentei fazer de mil maneiras aqui colocando: Use e Actions de islocation.
    Mais o bot sai pulando os waypoint muito rapidoo, e pula as action, pula os node

    Se alguem poder me ajudar em uma action de checar se a porta esta aberta ou nao, agradeço!!
    if islocation(1) and (topitem(XXXXX,YYYYY,Z).id) == 6252 then
    usedoor(XXXXX,YYYYY,Z)
    end


    Also, no offence, but try keep the BR to the BR part of the forum
    กิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิ ิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิ ิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิ ิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิ ิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิ ิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิ ิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิ ิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิก ิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิ ิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิ ิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิ ิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิ ิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิ ิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิ ิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิ ิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิ ิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิ ิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิ ิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิ ิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิ ิิิิิิิิ

  3. #3
    Wind Powered brad's Avatar
    Join Date
    Nov 2013
    Location
    Brazil
    Posts
    516
    Reputation
    94
    Rep Power
    22
    Wrong section >.<

  4. #4
    Free User
    Join Date
    Dec 2013
    Posts
    14
    Reputation
    10
    Rep Power
    0
    this doesnt work.

    how do you script one to open door in carlin if not open.

  5. #5
    Moderator SuNe's Avatar
    Join Date
    Dec 2013
    Location
    Sweden
    Posts
    2,880
    Reputation
    186
    Rep Power
    27
    Quote Originally Posted by AznX View Post
    this doesnt work.

    how do you script one to open door in carlin if not open.

    It does work if you change the XYZ and IF of door

     if islocation(1) and (topitem(XXXXX,YYYYY,Z).id) == IDID then
    usedoor(XXXXX,YYYYY,Z) --Change XYZ TO POS OF DOOR, CHANGE IDID FOR ID OF CLOSED DOOR!!
    end
    กิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิ ิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิ ิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิ ิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิ ิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิ ิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิ ิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิ ิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิก ิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิ ิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิ ิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิ ิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิ ิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิ ิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิ ิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิ ิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิ ิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิ ิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิ ิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิ ิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิ ิิิิิิิิ

  6. #6
    Free User
    Join Date
    Dec 2013
    Posts
    14
    Reputation
    10
    Rep Power
    0
    if islocation(1) and (topitem(XXXXX,YYYYY,Z).id) == IDID then
    usedoor(XXXXX,YYYYY,Z) --Change XYZ TO POS OF DOOR, CHANGE IDID FOR ID OF CLOSED DOOR!!
    end


    so do you change both of them? or just the usedoor one

  7. #7
    Moderator SuNe's Avatar
    Join Date
    Dec 2013
    Location
    Sweden
    Posts
    2,880
    Reputation
    186
    Rep Power
    27
    Quote Originally Posted by AznX View Post
    if islocation(1) and (topitem(XXXXX,YYYYY,Z).id) == IDID then
    usedoor(XXXXX,YYYYY,Z) --Change XYZ TO POS OF DOOR, CHANGE IDID FOR ID OF CLOSED DOOR!!
    end


    so do you change both of them? or just the usedoor one
    Change both of the X,Y,Z with the X,Y,Z of the door, also change IDID to the ID of the closed door.
    กิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิ ิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิ ิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิ ิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิ ิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิ ิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิ ิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิ ิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิก ิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิ ิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิ ิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิ ิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิ ิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิ ิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิ ิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิ ิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิ ิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิ ิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิ ิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิ ิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิ ิิิิิิิิ

  8. #8
    Free User xendram's Avatar
    Join Date
    Jan 2014
    Location
    Proland
    Posts
    353
    Reputation
    19
    Rep Power
    21
    Hey i have same problem. Did i made good changes?

    if islocation(1) and (topitem(32188,31639,.id)) == 6252 then
    usedoor(32188,31639,7)
    end

  9. #9
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    make action in doors pos and
    usedoor($wptx, $wpty, $wptz, "open")

  10. #10
    Moderator sirmate's Avatar
    Join Date
    Dec 2013
    Location
    Poland
    Posts
    42
    Reputation
    37
    Rep Power
    0
    Check one of those:
    if islocation(1) and topitem(32188, 31639, 7).id == 6252 then
    usedoor(32188, 31639, 7) waitping()
    end

    if islocation(1) and topuseitem(32188, 31639, 7).id == 6252 then
    usedoor(32188, 31639, 7) waitping()
    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
  •