- Joined
- Apr 16, 2025
- Messages
- 160
I swear to God, I recently saw a very basic trigger for collecting identical items in one map. It looked something like this:
But in that version, one crown was assembled. Everything worked, I tested it. I was also very surprised that it worked, and I thought that in reforge the editor became much more functional. However, I lost this method! Please tell me how to make such a trigger?P.S. I'm currently using a much more complex system of this kind:
-
Crown
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-


And - All (Conditions) are true
-



Conditions
-




(Item-type of (Item being manipulated)) Equal to Circlet of Nobility
-




(Item-type of (Item being manipulated)) Equal to Circlet of Nobility
-




(Item-type of (Item being manipulated)) Equal to Circlet of Nobility
-
-
-
-

Actions
-


Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-


Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-


Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-


Hero - Create Crown of Kings +5 and give it to (Triggering unit)
-
-
But in that version, one crown was assembled. Everything worked, I tested it. I was also very surprised that it worked, and I thought that in reforge the editor became much more functional. However, I lost this method! Please tell me how to make such a trigger?P.S. I'm currently using a much more complex system of this kind:
-
Crown2 2 2
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-


((Triggering unit) has an item of type Circlet of Nobility) Equal to True
-


((Triggering unit) has an item of type Circlet of Nobility) Equal to True
-


((Triggering unit) has an item of type Circlet of Nobility) Equal to True
-
-

Actions
-


For each (Integer A) from 1 to 6, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Circlet of Nobility
-
-





Then - Actions
-






For each (Integer B) from ((Integer A) + 1) to 6, do (Actions)
-







Loop - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to Circlet of Nobility
-
-









Then - Actions
-










For each (Integer C) from ((Integer B) + 1) to 6, do (Actions)
-











Loop - Actions
-












If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-













If - Conditions
-














(Item-type of (Item carried by (Hero manipulating item) in slot C)) Equal to Circlet of Nobility
-
-













Then - Actions
-














Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-














Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-














Item - Remove (Item carried by (Triggering unit) of type Circlet of Nobility)
-














Hero - Create Crown of Kings +5 and give it to (Triggering unit)
-














Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\AIem\AIemTarget.mdl
-














Special Effect - Destroy (Last created special effect)
-
-













Else - Actions
-














Do nothing
-
-
-
-
-
-









Else - Actions
-










Do nothing
-
-
-
-
-
-





Else - Actions
-






Do nothing
-
-
-
-
-
-
Last edited:

