Pick OR Use

Guk

New Member
Reaction score
1
Took *Secret level PowerUp* (i think it's just as glyph but) and made it quest item. but it doesnt seem to work

Code:
Q1 Troll Axe
    Events
        Unit - A unit Acquires an item
    Conditions
        ((Item-type of (Picked item)) Equal to 1 Forest troll axe) or ((Item-type of (Picked item)) Equal to 2 Forest troll axes)
    Actions
        If ((Item-type of (Picked item)) Equal to 1 Forest troll axe) then do (Set TrollAxe = (TrollAxe + 1)) else do (If ((Item-type of (Picked item)) Equal to 2 Forest troll axes) then do (Set TrollAxe = (TrollAxe + 2)) else do (Do nothing))
        Game - Display to (All players) the text: (|cFFFFD700 Troll axes gathered :|r + ((String(TrollAxe)) +  / 15))
 

Drakethos

Preordered Sc2 ftw!
Reaction score
56
Perhaps you should say "uses and item", because power ups are activated instantaneously.
 

Guk

New Member
Reaction score
1
Code:
s
    Events
        Unit - A unit Uses an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Rune of Dispel Magic
    Actions
        Game - Display to (All players) the text: asdsad

i made this triger without any complicated things, but it still doesnt work ...
 
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