need help with pinescripts

Results 1 to 9 of 9
  1. #1
    Apprentice ryfahr is offline
    MemberRank
    Mar 2012 Join Date
    13Posts

    need help with pinescripts

    is somebody out there who can help me by some probs around the pinescripts?

    open [onArea1Loop]
    if @PlayerInArea("player" "ID_UrgDragonArea") <= 10
    then open
    interrupterase "Area1Leave".
    interruptset Sec "Area1Leave2" 1 20 "onArea1Loop2".
    close
    close

    this is whats given in the script, but if i try to start the script i get this:
    PineEventScriptNode::SystemFunction::sa_Load : undefined function[PlayerInArea]

    so whats wrong?


  2. #2
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: need help with pinescripts

    PlayerInArea isn't a function? And PS doesn't use ()s.

  3. #3
    Apprentice ryfahr is offline
    MemberRank
    Mar 2012 Join Date
    13Posts

    Re: need help with pinescripts

    so i have to define @PlayerInArea in Var and remove the ()

  4. #4
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: need help with pinescripts

    No. You can't define functions. They are defined in the EXEs.

  5. #5
    Apprentice ryfahr is offline
    MemberRank
    Mar 2012 Join Date
    13Posts

    Re: need help with pinescripts

    ok, so what have i to do to get the script run?

  6. #6
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: need help with pinescripts

    I give up.

  7. #7
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: need help with pinescripts

    instead of using the player in area use something working with AreaEntry

  8. #8
    Valued Member dontknown is offline
    MemberRank
    Mar 2012 Join Date
    128Posts

    Re: need help with pinescripts

    Code:
    waitlogin Wait.
        if Wait > 9
        then open
            call "Eventt".
        close
    Something like this?

  9. #9
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: need help with pinescripts

    that would wait til 9 objects enter the map and then run the Eventt function but i think the waitlogin might be is a bool command so might just wait till true.



Advertisement