Results 1 to 4 of 4

Thread: Action with change 'walkthroughplayers'

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Action with change 'walkthroughplayers'

    like in titile ... i want to turn off when go resp ... and turn on when go dp

    how to do action to turn on or off ?

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Here is an action from mine script, it will activate the Walktrhoughtplayers option if he is inside pz LOCK and not when outside, you can play witht that setting an ACTION wpt with the paramters setsettings(.....) that you can find in this example
    PHP Code:
    if (pzone)
    then setsettings('Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers''yes')
    else
    setsettings('Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers''no')
    end 

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    thanks man

  4. #4
    Normal User jesusz0r's Avatar
    Join Date
    Jun 2012
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    That will cause trouble in your script just saying!!!
    If you want to go outside the depot and there is someone standing outside of pz, your character will stand there to try to pass the guy outside pz

Posting Permissions

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