So in my map i want it to be that u can only reload 1 gun at a time will this work? and have i removed all the leaks?
-
Reload PGM II
-
Events
- Player - Player 1 (Red) types a chat message containing pg2 as An exact match
- Player - Player 2 (Blue) types a chat message containing pg2 as An exact match
- Player - Player 3 (Teal) types a chat message containing pg2 as An exact match
- Player - Player 4 (Purple) types a chat message containing pg2 as An exact match
- Player - Player 5 (Yellow) types a chat message containing pg2 as An exact match
- Player - Player 6 (Orange) types a chat message containing pg2 as An exact match
- Player - Player 7 (Green) types a chat message containing pg2 as An exact match
- Player - Player 8 (Pink) types a chat message containing pg2 as An exact match
- Player - Player 9 (Gray) types a chat message containing pg2 as An exact match
- Player - Player 10 (Light Blue) types a chat message containing pg2 as An exact match
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Is_Reloading Equal to 0
-
Then - Actions
- Set Is_Reloading = 1
- Game - Display to Players[(Player number of (Triggering player))] the text: Reloading PG Mark II...
- Wait 2.50 seconds
- Set Is_Reloading = 0
- Game - Display to Players[(Player number of (Triggering player))] the text: PG Mark II Reloaded...
-
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
-
Loop - Actions
- Item - Set charges remaining in (Item carried by (Picked unit) of type PG Mark II) to 25
- Custom script: set bj_wantDestroyGroup = true
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events