Results 1 to 7 of 7

Thread: Whats wrong In this action

  1. #1
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0

    Whats wrong In this action

    Hi all This is the action:
    PHP Code:
    if not islocation()
    then gotolabel("Leave_Bruce")
    end 
    he always go to leave bruce dont know why..:/

    then I need an action for check if bps are opened after try to open they..

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    1. Make sure the x,y,z of the stand wpt before this action wpt is the same x,y,z
    2. Make sure the label is correct aswell.

  3. #3
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0
    the x,y,z of the action need to be the same of?

  4. #4
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Well, most likely there is a stand wpt before your action wpt.

    Then your adding a islocation() to make sure your character is where it is suppose to be

  5. #5
    Normal User kozik7's Avatar
    Join Date
    Oct 2012
    Posts
    146
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    you need make 2 the same wpt 1st for stay and 2nd for check

  6. #6
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0
    look, I use it when I go from bog raiders to cemetery and rest to dp yalahar by Npc's then sometimes when it say pass then he heal or something then the function of the action its losed because the npc don't send me to other part. then i add a stand in the other part and then a action with this, and always go to leave_Bruce and start say hi.. x1000 times lol

  7. #7
    Normal User kozik7's Avatar
    Join Date
    Oct 2012
    Posts
    146
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    make check location after npc (ex. after gate).

    Click image for larger version. 

Name:	example.jpg 
Views:	6 
Size:	12.8 KB 
ID:	12374

    watch it
    2 the same wpt

    do it after gate or stairs or somewhere and if not islocation then go to label "xxx"

    PHP Code:
    if not islocation() then
         gotolabel
    ("leavemanashop")
    else 
    gotolabel("w066")
    end 
    Last edited by kozik7; 01-11-2013 at 08:35 PM.

Posting Permissions

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