• 🏆 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!

[Trigger] Help With these trigers

Status
Not open for further replies.

Rmx

Rmx

Level 19
Joined
Aug 27, 2007
Messages
1,164
could anyone help me doing a triger that when a unit begins castind an ability the ability will give the unit a random item and also i have many leaks on my map so i'm gonna let you play it but not know until i finich it and you give me 0/10 maybe 4/10 okay and one last thing i want to do when a unit carries a sheild a sword bla bla bla they will be removed and become one single item licke sheild sword hehehe ...:xxd::cry:plz help me:cry: and one more thing i want to change the font of texts but i don't know i just look at these |cdffafsafd bla bla bla could anyone anyone help:cry::cry::cry:
 
Level 17
Joined
Jun 17, 2007
Messages
1,433
Store some items into an item array on initialization E.G.

  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Item[1] = Claws of Attack +15
      • Set Item[2] = Crown of Kings +5
      • Set Item[3] = Ghost Key
      • Set Item[4] = Skull of Gul'dan
      • Set Item[5] = Mana Stone
      • Set Item[4] = Claws of Attack +15
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Hero - Create Item[(Random integer number between 1 and 5)] and give it to (Triggering unit)
 
Status
Not open for further replies.
Top