Results 1 to 2 of 2

Thread: Make it change weapon and set targeting stance from keep away to approach.

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

    Question Make it change weapon and set targeting stance from keep away to approach.

    Im using a pally.
    I need: when the bot change weapon to fire sword, also change stance of attack to approach.
    The way it is right now bot place fire sword but doesnt approach.

    Im using this action:

    local ArmaPraUsar = "fire sword"
    local ArmaDePally = "spear"
    if weapon ~= ArmaDePally and itemcount(ArmaDePally) >= 2 and maround(0) == 0
    then moveitems(ArmaDePally, "all", "weapon", 100)
    wait(1000)
    elseif weaponamount <= 1 and maround(0) == 0
    then moveitems(ArmaPraUsar, "all", "weapon", 100)
    end

    Help please?

  2. #2
    Normal User
    Join Date
    Dec 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    PHP Code:
    local ArmaPraUsar "fire sword"
     
    local ArmaDePally "spear"
     
    if weapon ~= ArmaDePally and itemcount(ArmaDePally) >= and maround(0) == 0
     then moveitems
    (itemid(ArmaDePally),"all","weapon",1)
     
    wait(1000)
     elseif 
    weaponamount <= and maround(0) == 0
     then moveitems
    (itemid(ArmaPraUsar),"all","weapon",1)
     
    end 
    see if it works

Posting Permissions

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