• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Item trigger not working

Status
Not open for further replies.
Level 2
Joined
Mar 28, 2008
Messages
5
  • Random Copy
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Rexxar the Beastmaster
      • (Item-type of (Item being manipulated)) Equal to Horn of the Wild
    • Actions
      • Set RandomBeast = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • RandomBeast Equal to 1
        • Then - Actions
          • Unit - Create 1 Furbolg Elder Shaman for (Owner of (Item being manipulated)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
          • Wait 40.00 seconds
          • Unit - Remove (Last created unit) from the game
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • RandomBeast Equal to 2
            • Then - Actions
              • Unit - Create 2 Berserk Quilbeast (Level 4) for (Owner of (Item being manipulated)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
              • Wait 40.00 seconds
              • Unit - Remove (Last created unit) from the game
            • Else - Actions
              • Unit - Create 1 Misha (Level 4) for (Owner of (Item being manipulated)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
              • Wait 40.00 seconds
              • Unit - Remove (Last created unit) from the game
 
Level 11
Joined
Dec 11, 2007
Messages
888
no dont post triggers like that
copy your trigger as text (Copy as Text)
then select Go Advanced > paste your trigger then select the whole trigger and use trigger tags (Wrap
  • tags around selected text) it is a grey icon at the top
 
Level 8
Joined
Jun 25, 2007
Messages
165
  • Events
  • Unit - A unit Uses an item
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Rexxar the Beastmaster
    • (Item-type of (Item being manipulated)) Equal to Horn of the Wild
  • Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Random integer number between 1 and 3 is equal to 1
        • Then - Actions
          • Unit - Create 1 Furbolg Elder Shaman for (Owner of (Item being manipulated)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
          • Unit - Add a 40 seconds generic timer for (Last created unit)
          • Else - Actions
            • ...
 
Level 2
Joined
Mar 28, 2008
Messages
5
Thx u ElvenGod but there still a problem. When i uses item it create a random beast for Neutral beside always 2 pig for me. Do you know why?This is new trigger:
  • Random Copy
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Rexxar the Beastmaster
      • (Item-type of (Item being manipulated)) Equal to Horn of the Wild
    • Actions
      • Set RandomBeast = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • RandomBeast Equal to 1
        • Then - Actions
          • Unit - Create 1 Furbolg Elder Shaman for (Owner of (Item being manipulated)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
          • Unit - Add a 40.00 second Generic expiration timer to (Last created unit)
        • Else - Actions
          • ....
 
Status
Not open for further replies.
Top