Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Jun 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0

    Help Preventing Trap

    Can someone help me doing a really simple script: if the char is trapped turn targeting on. To prevent being trapped by monsters in my way to the hunt zone. not sure how to do the "im trapped" script

  2. #2
    Banned
    Join Date
    Jan 2014
    Posts
    23
    Reputation
    14
    Rep Power
    0
    Code:
    auto(1000)
    if $standtime > 10000 and $wptsection == "To Hunt" then
    		settargeting("yes")
    		wait(10000)
    		settargeting("no")
    end

  3. #3
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,666
    Reputation
    73
    Rep Power
    27
    init start

    --Trapped time in seconds:
    local trapTime = 25

    init end

    auto(500, 1000)
    if maround(0) >= 1 and $standtime >= trapTime*1000
    then
    settargeting("on")
    end


    Visit:
    (◣_◢)

 

 

Posting Permissions

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