Item trigger not working

Status
Not open for further replies.

bebigopon

B

bebigopon

  • 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
 
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
 
  • 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
            • ...
 
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
          • ....
 
oh, i forgot that item ability is feral spirit ^^, now everithing is ok. Thx u the man who needs basic condition of life.
 
Status
Not open for further replies.
Back
Top