• 0

    posted a message on [Solved] Arrows on the minimap

    @nevjmac: Go

    EDIT: Never mind, I figured it out.

    Posted in: Triggers
  • 0

    posted a message on [Solved] Arrows on the minimap

    @nevjmac: Go

    Okay, but I do have another question now. The second arrow path seems to not work. I get an in-game message stating "Error: Trying to access an element past an array" (paraphrased). I find that odd, as I copied the trigger from arrow 01 (which worked), and then used new variables and new points.

    Posted in: Triggers
  • 0

    posted a message on [Solved] Arrows on the minimap

    @nevjmac: Go

    It works now, thank you so much! The irony is: I saw that waiting action, and had no idea what it was for. :)

    Posted in: Triggers
  • 0

    posted a message on [Solved] Arrows on the minimap

    @nevjmac: Go

    Actually, it was the Blizzard maps that got me this far. I can't seem to figure out what it is that they do. It's extra difficult because of the large number of triggers used.

    Posted in: Triggers
  • 0

    posted a message on [Solved] Arrows on the minimap

    [Originally posted on TeamLiquid. Was adviced to come here.]

    Okay, after working a lot the last few hours I've finally managed to create arrows on the map, detailing a route (see Kerrigan in The Moebius Factor, the trains in The Great Train Robbery, etc). However, when they appear, they all appear simultaniously, instead of beginning at point 01 and moving to the last one, as they do in the Blizzard maps. How can I correct this?

    Here is the path creation trigger [shortened]:

    • Variable - Set Path01[PathIndex] = APC 01 - 00
    • Variable - Set PathIndex = (PathIndex + 1)
    • Variable - Set Path01[PathIndex] = APC 01 - 01
    • Variable - Set PathIndex = (PathIndex + 1)
    • Variable - Set Path01[PathIndex] = APC 01 - 02
    • Variable - Set PathIndex = (PathIndex + 1)
    • Variable - Set Path01[PathIndex] = APC 01 - 03
    • Variable - Set APC 01 Path Length = PathIndex

    PathIndex: Integer variable set to 0. Path 01: Point variable set to no point. APC 01 - 00 to 11: The points on the path.

    And here is the arrow creation trigger:

    • General - For each integer PathIndex from 0 to APC 01 Path Length with increment 1, do (Actions)
    • Actions
    • Ping - Create a ping for (All players) at Path01[PathIndex] (using point facing), using model Ping Arrow and color (100%, 0%, 0%, 0%), lasting 6.0 seconds
    • Ping - Set scale of (Last created ping) to 0.75
    • Visibility - Reveal (Region(Path01[PathIndex], 7.0)) for player 1 for 6.0 seconds and Do Not check cliff level
    Posted in: Triggers
  • To post a comment, please or register a new account.