1616 Reevaluation: Visible To
1717%UpgradePortal(pos)
1818 Portal(pos, Good Aura, Yellow, "Upgrades")
19- portals.push (pos)
19+ portals.append (pos)
2020%ShopPortal(pos)
2121 Portal(pos, Good Aura, Purple, `{0} {1}`("Previous", "Boss"))
2222 shop_portal = pos
@@ -92,95 +92,96 @@ Rule "Initialize Effects (Portals / Upgrades / Boundaries)"
9292 UpgradePortal(<41, 3.5, 78.5>)
9393 UpgradePortal(<-118.5, 1.5, 99.5>)
9494 ShopPortal(<-7.000, 3, 75>)
95- // 1 -> 2 Modify Global Variable(E, Append To Array, Vector(-55.000, 1.500, 141.500));
96- // 2 -> 3 Modify Global Variable(E, Append To Array, Vector(-25.500, 7.500, 50.500));
97- // 3 -> 4 Modify Global Variable(E, Append To Array, Vector(-80.000, 1.500, 71));
98- // 4 -> 5 Modify Global Variable(E, Append To Array, Vector(-63.000, 2.500, 115.500));
99- // 5 -> 6 Modify Global Variable(E, Append To Array, Vector(41, 3.500, 67.500));
100- // prestige: <-172, 3, 96>
101- // create boundary function
102-
103- Rule "Initialize Player HUD Stats"
104- Event_Team(Team 1)
105- Actions
106- Hud
107- Visible_To: Event Player
108- Header: `{0}: {1}`("Money", pvar money)
109- Subheader: Null
110- Text: Null
111- Location: Top
112- Sort_Order: 0
113- Header_Color: White
114- Subheader_Color: White
115- Text_Color: White
116- Reevaluation: Visible To And String
117- SmallHud(Top, `{0} / {1}`(`{0}: {1}`("Damage", `{0}%`(pvar damage_scale)), `{0}: {1}`("Defend", `{0}%`(pvar defense))), Red)
118- SmallHud(Top, `{0} sec`(pvar reload_speed), Yellow)
119- SmallHud(Top, `{0} {1}`(`{0}%`(pvar money_multiplier * 100), "Money"), Green)
120- //Create In-World Text(All Players(Team 1), String("{0} - {1} - {2}", String("{0}: {1}", String("Damage", Null, Null, Null), String(
121- // "{0}%", Player Variable(Event Player, B), Null, Null), Null), String("{0} sec", Player Variable(Event Player, E), Null, Null),
122- // String("{0} {1}", String("{0}%", Multiply(Player Variable(Event Player, J), 100), Null, Null), String("Money", Null, Null,
123- // Null), Null)), Event Player, 0.750, Clip Against Surfaces, Visible To Position and String);
124-
125- Rule "Validate Bosses"
126- Event_Global()
127- Conditions
128- All True
129- boss_heroes
130- Is Hero Being Played
131- Cur Elem
132- Team 2
133- == False
134- Actions
135- Msg
136- Everyone
137- `{0}: {1}`
138- "Warning"
139- `{0} {1}`
140- "Bad"
141- "Bosses"
142- Wait(2min + 1.5s)
143- Loop If Condition Is True
144-
145- Rule "Initialize Bosses"
146- Event_Global()
147- Conditions
148- Is Game In Progress;
149- Actions
150- Msg(Everyone, "Go")
151- SpawnBoss(Roadhog)
152- SpawnBoss(Soldier: 76)
153- SpawnBoss(Mei)
154- SpawnBoss(Lucio)
155- SpawnBoss(Ana)
156- SpawnBoss(Reaper)
157-
158- Rule "Teleport to Shop"
159- Event_Team(All)
160- Conditions
161- Any True
162- Array: portals
163- Condition: Distance Between
164- Event Player
165- Cur Elem
166- <= 1.5
167- == True
168- Actions
169- Teleport(Event Player, shop_pos)
170- pvar location = -1
171- // Add sound effect
172-
173- Rule "Teleport from Shop"
174- Event_Team(All)
175- Conditions
176- Distance Between
177- Event Player
178- shop_portal
179- <= 1.5
180- pvar location == -1
181- Actions
182- Msg(Event Player, "Bosses")
183- Big Msg("Hello")
184- pvar location = pvar cur_boss
185- Teleport(Event Player, player_spawns[pvar location])
186- // Add sound effect
95+ // // 1 -> 2 Modify Global Variable(E, Append To Array, Vector(-55.000, 1.500, 141.500));
96+ // // 2 -> 3 Modify Global Variable(E, Append To Array, Vector(-25.500, 7.500, 50.500));
97+ // // 3 -> 4 Modify Global Variable(E, Append To Array, Vector(-80.000, 1.500, 71));
98+ // // 4 -> 5 Modify Global Variable(E, Append To Array, Vector(-63.000, 2.500, 115.500));
99+ // // 5 -> 6 Modify Global Variable(E, Append To Array, Vector(41, 3.500, 67.500));
100+ // // prestige: <-172, 3, 96>
101+ // // create boundary function
102+ //
103+ //Rule "Initialize Player HUD Stats"
104+ // Event_Team(Team 1)
105+ // Actions
106+ // Hud
107+ // Visible_To: Event Player
108+ // Header: `{0}: {1}`("Money", pvar money)
109+ // Subheader: Null
110+ // Text: Null
111+ // Location: Top
112+ // Sort_Order: 0
113+ // Header_Color: White
114+ // Subheader_Color: White
115+ // Text_Color: White
116+ // Reevaluation: Visible To And String
117+ // SmallHud(Top, `{0} / {1}`(`{0}: {1}`("Damage", `{0}%`(pvar damage_scale)), `{0}: {1}`("Defend", `{0}%`(pvar defense))), Red)
118+ // SmallHud(Top, `{0} sec`(pvar reload_speed), Yellow)
119+ // SmallHud(Top, `{0} {1}`(`{0}%`(pvar money_multiplier * 100), "Money"), Green)
120+ // //Create In-World Text(All Players(Team 1), String("{0} - {1} - {2}", String("{0}: {1}", String("Damage", Null, Null, Null), String(
121+ //// "{0}%", Player Variable(Event Player, B), Null, Null), Null), String("{0} sec", Player Variable(Event Player, E), Null, Null),
122+ //// String("{0} {1}", String("{0}%", Multiply(Player Variable(Event Player, J), 100), Null, Null), String("Money", Null, Null,
123+ //// Null), Null)), Event Player, 0.750, Clip Against Surfaces, Visible To Position and String);
124+ //
125+ //Rule "Validate Bosses"
126+ // Event_Global()
127+ // Conditions
128+ // All True
129+ // boss_heroes
130+ // Is Hero Being Played
131+ // Cur Elem
132+ // Team 2
133+ // == False
134+ // Actions
135+ // Msg
136+ // Everyone
137+ // `{0}: {1}`
138+ // "Warning"
139+ // `{0} {1}`
140+ // "Bad"
141+ // "Bosses"
142+ // Wait(2min + 1.5s)
143+ // Loop If Condition Is True
144+ //
145+ //Rule "Initialize Bosses"
146+ // Event_Global()
147+ // Conditions
148+ // Is Game In Progress;
149+ // Actions
150+ // Msg(Everyone, "Go")
151+ // SpawnBoss(Roadhog)
152+ // SpawnBoss(Soldier: 76)
153+ // SpawnBoss(Mei)
154+ // SpawnBoss(Lucio)
155+ // SpawnBoss(Ana)
156+ // SpawnBoss(Reaper)
157+ //
158+ //Rule "Teleport to Shop"
159+ // Event_Team(All)
160+ // Conditions
161+ // Any True
162+ // Array: portals
163+ // Condition: Distance Between
164+ // Event Player
165+ // Cur Elem
166+ // <= 1.5
167+ // == True
168+ // Actions
169+ // Teleport(Event Player, shop_pos)
170+ // pvar location = -1
171+ // // Add sound effect
172+ //
173+ //Rule "Teleport from Shop"
174+ // Event_Team(All)
175+ // Conditions
176+ // Distance Between
177+ // Event Player
178+ // shop_portal
179+ // <= 1.5
180+ // pvar location == -1
181+ // Actions
182+ // Msg(Event Player, "Bosses")
183+ // Big Msg("Hello")
184+ // pvar location = pvar cur_boss
185+ // Teleport(Event Player, player_spawns[pvar location])
186+ // // Add sound effect
187+ //
0 commit comments