• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Indexing Problem

Should this work?


  • Total voters
    4
  • Poll closed .
Status
Not open for further replies.
okay here is my problem i have looked over it a few times (becuase i have been told that arrays work ) so here my trigger

  • Trigger that isn't working :(
  • Events
    • Unit - A units begins casting an ability
  • Conditions
    • (Ability being cast) Equal to Shoot (Pistol)
  • Actions
    • Set Variable - IndexingUnitFA (IndexingUnitFA + 1)
    • Set Variable - UnitArray[IndexingUnitFA] = casting unit
    • Floating Text- BlahBlah Blah above [UnitArray[IndexingUnitFA]] with color blah blah blah
 
Level 8
Joined
Apr 30, 2009
Messages
338
You should paste the whole trigger too instead of stupid paraphrasing like blah blah
 
Level 8
Joined
Apr 30, 2009
Messages
338
breath of fire can be made a straight line if you set the start and finish AOE to the same number. Here is how these spells work:

lineaoe.jpg
 
Status
Not open for further replies.
Top