Two Questions

killerbf1

New Member
Reaction score
2
Ok, im trying to attach exclamation marks to a villagers head to represent that he has a quest to give, then change it into a question mark after the quest is discovered.

It won't attach...

And im also trying to spawn creeps through a trigger and have them drop items from a custom item table... The only way i have seen to make a creep drop a random item from a custom table is for me to place the creep on the map, then select it and add item to it...

Thanks in advanced for any help givin.:)
 

Azlier

Old World Ghost
Reaction score
461
1:
Trigger:
  • Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl


2: You must trigger your item tables, unfortunately. A good way is to make an item array and list the possible items. Add an item more than once to increase the chances of it dropping.

Trigger:
  • LOLWUT
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Multiple ConditionsOr - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Triggering unit)) Equal to (==) Dark Troll Berserker
              • (Unit-type of (Triggering unit)) Equal to (==) Dark Troll Trapper
              • (Unit-type of (Triggering unit)) Equal to (==) Dark Troll
              • (Unit-type of (Triggering unit)) Equal to (==) Dark Troll High Priest
        • Then - Actions
          • Item - Create Loot_DarkTrolls[(Random integer number between 1 and 10)] at (Position of (Triggering unit))
        • Else - Actions


In other news, the Wc3 tag is awesomesauce!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top