- Joined
- Feb 3, 2009
- Messages
- 3,292
For some reason in the bellow trigger the drop item actions don't work.
Any ideas?
Solved.
Any ideas?
-
Get Weapon Ultimate 2
-
Events
- Unit - A unit enters Region 056 <gen>
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Owner of (Triggering unit)) controller) Equal to Computer
- ((Owner of (Triggering unit)) Current gold) Greater than or equal to 5000
-
Or - Any (Conditions) are true
-
Conditions
- AIProcess[(Player number of (Owner of (Triggering unit)))] Equal to 5
- AIProcess[(Player number of (Owner of (Triggering unit)))] Equal to 6
-
Conditions
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Set AIProcess[(Player number of (Owner of (Triggering unit)))] = (AIProcess[(Player number of (Owner of (Triggering unit)))] + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- AIProcess[(Player number of (Owner of (Triggering unit)))] Equal to 5
-
Then - Actions
- Hero - Drop the item from slot 2 of (Triggering unit)
- Hero - Drop the item from slot 4 of (Triggering unit)
- Player - Add 1000 to (Owner of (Triggering unit)) Current gold
- Else - Actions
-
If - Conditions
- Hero - Create Spear Of Great Knights and give it to (Triggering unit)
- Player - Add -5000 to (Owner of (Triggering unit)) Current gold
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- DEBUG Equal to True
-
Then - Actions
- Game - Display to (All players) for 10.00 seconds the text: === Debug ===
- Game - Display to (All players) for 10.00 seconds the text: ((Name of (Owner of (Triggering unit))) + bought an item for 5000 gold.)
- Else - Actions
-
If - Conditions
-
Events
Solved.