• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Giving Items based on Username

Status
Not open for further replies.
Level 13
Joined
Mar 16, 2008
Messages
941
Always the same thingy with new map creaters, it's not fair :p
However, that's not my problem :)
Try something like this:
  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds //Use a value or an event at wich the hero exists
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Name of (Player((Integer A)))) Equal to lolzinyourface
            • Then - Actions
              • Hero - Create Uber Item of Doom and give it to (Variable containing the hero)
            • Else - Actions
 
Status
Not open for further replies.
Top