Conditional statements in scenarios

Forum Forums Discussion Conditional statements in scenarios

Tagged: ,

This topic contains 4 replies, has 5 voices, and was last updated by  pussyfoot 2 years, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34479

    Brazzy
    Participant
    0

    I’d like to create complex scenarios like gather every ingredient of a meal in a real safe way.
    Like: go to place “A” gather “X” 20 times -> if time xyz (lets say dont have to w8 more than 10 minutes for the node) gather timed node else afk 1-10min -> go to place “B” gather “Y” 20 times so on so on…

    Is there any chance something like that will be available ? Would be real nice 🙂

    #34483

    ffxivnewbiebot
    Participant
    0

    Have you tried running out a scenario in the current patch EW? What you ask is currently doable.

    “A” gather “X” 20 times

    teleportif(AREA)
    grid
    gathering rotation
    gather (20) – for 20 times gather in that area alone

    afkuntil or workuntil (time) for afk time.

    Add new scenario for the next item then repeat.

    #34493
    Vixen
    Vixen
    Participant
    1+

    What they ask is not currently doable, since they’d like to do one of two different things based on the time. In their example, they said “if time xyz gather timed node else afk” – that’s not possible, no. There is currently no way to test conditions and follow different paths based on them; the only form of conditional is the teleportIf (teleportIfNotThere) function, which will teleport to the listed aetheryte unless you’re already in the destination zone.

    Conditionals and advanced flow control have been requested and are, IIRC, planned updates for an indeterminate future date.

    #34498

    edgedy
    Participant
    0

    Another good example of a good conditional if it’s possible would be if a collectable is caught, identical catch immediately after. Not sure how difficult that would be to code however.

    #34501

    pussyfoot
    Participant
    0

    I’ve been hoping and asking for simple conditionals, even if it were
    if (x) jump to chapter x

    That would make this bot extremely powerful.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.