- Joined
- Dec 10, 2008
- Messages
- 850
Ok, so I've made this ranking system for my map (Not all the ranks are complete yet) and I was wondering if there is any way thats better then this. Note that I want to to stay GUI
It gets really long after awhile. Basicly all trigger one does is declare the ranks, and store the players starting name, so it doesnt add the other stuff from the ranks before (learned that the hard way) So is there any GUI way I can pull this off and keep it effective at the same time?
-
Map Inti Stuff
-
Events
- Map initialization
- Conditions
-
Actions
- Set Ranks[0] = Pvt.
- Set Ranks[1] = Pfc.
- Set Ranks[2] = Lcpl.
- Set Ranks[3] = Cpl.
- Set Ranks[4] = Sgt. l
- Set Ranks[5] = Sgt. ll
- Set Ranks[6] = Sgt. lll
- Set Ranks[7] = GySgt. l
- Set Ranks[8] = GySgt. ll
- Set Ranks[9] = GySgt. lll
- Set Ranks[10] = Msgt. l
- Set Ranks[11] = Msgt. ll
- Set Ranks[12] = Msgt. lll
- Set Ranks[13] = Sgt. Maj. l
- Set Ranks[14] = Sgt. Maj. ll
- Set Ranks[15] = Sgt. Maj. lll
- Set Ranks[16] = Maj. l
- Set Ranks[17] = Maj. ll
- Set Ranks[18] = Maj. lll
- Set Ranks[19] = Lt. Col. l
- Set Ranks[20] = Lt. Col. ll
- Set Ranks[21] = Lt. Col. lll
- Set Ranks[22] = Col. l
- Set Ranks[23] = Col. ll
- Set Ranks[24] = Col. lll
- Set Ranks[25] = Lt. Gen. l
- Set Ranks[26] = Lt. Gen. ll
- Set Ranks[27] = Lt. Gen. lll
- Set Ranks[28] = Gen. l
- Set Ranks[29] = Gen. ll
- Set Ranks[30] = Gen. lll
- Set Ranks[31] = Gen. 4
- Set Ranks[32] = Gen. 5
- Set Ranks[33] = Gen. 6
- Set Names[1] = (Name of Player 1 (Red))
- Set Names[2] = (Name of Player 2 (Blue))
- Set Names[3] = (Name of Player 3 (Teal))
- Set Names[4] = (Name of Player 4 (Purple))
- Set Names[5] = (Name of Player 5 (Yellow))
- Set Names[6] = (Name of Player 6 (Orange))
- Set Names[7] = (Name of Player 7 (Green))
- Set Names[8] = (Name of Player 8 (Pink))
- Set Names[9] = (Name of Player 9 (Gray))
- Set Names[10] = (Name of Player 10 (Light Blue))
-
Events
-
Rank System
-
Events
- Unit - A unit Gains a level
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Triggering unit)) Equal to ABEM Flame
- (Unit-type of (Triggering unit)) Equal to ABEM SMG
- (Unit-type of (Triggering unit)) Equal to ABEM Gauss
- (Unit-type of (Triggering unit)) Equal to ABEM SMG
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
-
Then - Actions
- Player - Set name of Player 1 (Red) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[1])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 2 (Blue)
-
Then - Actions
- Player - Set name of Player 2 (Blue) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[2])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 3 (Teal)
-
Then - Actions
- Player - Set name of Player 3 (Teal) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[3])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 4 (Purple)
-
Then - Actions
- Player - Set name of Player 4 (Purple) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[4])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
-
Then - Actions
- Player - Set name of Player 5 (Yellow) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[5])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 6 (Orange)
-
Then - Actions
- Player - Set name of Player 6 (Orange) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[6])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 7 (Green)
-
Then - Actions
- Player - Set name of Player 7 (Green) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[7])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 8 (Pink)
-
Then - Actions
- Player - Set name of Player 8 (Pink) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[0])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 9 (Gray)
-
Then - Actions
- Player - Set name of Player 9 (Gray) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[9])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
-
Then - Actions
- Player - Set name of Player 10 (Light Blue) to (Ranks[((Level of (Triggering unit)) - 1)] + Names[10])
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events