- Joined
- Jan 6, 2008
- Messages
- 2,627
Hi, i got this trigger for my inventory
Thyrael sent me a Pm and told me to take away the Skip actions, and it worked
-
Test
-
Events
- Player - Player 1 (Red) Selects a unit
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Dummy Inventory Slot
-
Actions
- Set Inv_Group = (Units currently selected by Player 1 (Red))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in Inv_Group) Greater than 1
-
Then - Actions
- Selection - Clear selection for Player 1 (Red)
- Selection - Add PLAYER_CONTROLLER to selection
- Skip remaining actions
-
Else - Actions
- Set Inv_Dummy = (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Inv_Dummy Equal to Dummy Inventory Slot 0138 <gen>
-
Then - Actions
-
For each (Integer A) from 1 to 13, do (Actions)
-
Loop - Actions
- Trigger - Turn on Movement_CameraTriggers[(Integer A)]
-
Loop - Actions
- Trigger - Turn off Inv Cam <gen>
- Game - Hide creep camps on the minimap
- Game - Enable selection and deselection functionality (Enable selection circles)
- Game - Enable drag-selection functionality (Enable drag-selection box)
- Game - Enable pre-selection functionality (Enable pre-selection circles, life bars, and object info)
-
For each (Integer A) from 1 to 13, do (Actions)
- Else - Actions
-
If - Conditions
-
If - Conditions
- Selection - Clear selection for Player 1 (Red)
- Selection - Add PLAYER_CONTROLLER to selection
- Custom script: call DestroyGroup( udg_Inv_Group )
-
Events
Thyrael sent me a Pm and told me to take away the Skip actions, and it worked
Last edited: