Return to post
- rule("Player Set up")
- {
- event
- {
- Player Joined Match;
- All;
- All;
- }
- conditions
- {
- Is Assembling Heroes == True;
- }
- actions
- {
- Set Match Time(10);
- }
- }
- rule("KILL")
- {
- event
- {
- Player Dealt Final Blow;
- All;
- All;
- }
- actions
- {
- "When a player kills another, they are guaranteed their ultimate."
- Set Ultimate Charge(Event Player, 100);
- }
- }
- rule("DEATH")
- {
- event
- {
- Player Died;
- All;
- All;
- }
- actions
- {
- Respawn(Event Player);
- "As when a player joins, ultimate is reset on death."
- Set Ultimate Charge(Event Player, 0);
- }
- }
- rule("RALLY")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- conditions
- {
- Hero Of(Event Player) == Hero(Brigitte);
- Is Using Ultimate(Event Player) == True;
- Y Component Of(Vector(0, 5, 0)) == True;
- }
- actions
- {
- "Provides a short impulse to help save yourself."
- Apply Impulse(Event Player, Vector(0, 1, 0), 5, To Player, Cancel Contrary Motion);
- "Causes the player to go faster the longer they use the ult"
- Start Accelerating(Event Player, Up, 20, 10, To Player, Direction Rate and Max Speed);
- "This just sets how long the ult will last."
- Wait(1.500, Abort When False);
"This freeze is meant to end the ultimate"
Set Status(Event Player, Null, Frozen, 0.250);
- }
- }
- rule("RALLY END")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- conditions
- {
- Hero Of(Event Player) == Hero(Brigitte);
- Is Using Ultimate(Event Player) != True;
- }
- actions
- {
- "When the ult ends, the player returns back to normal."
- Stop Accelerating(Event Player);
- }
- }
rule("Mode information.")
- rule("Info")
- {
- event
- {
- Ongoing - Global;
- }
- conditions
- {
- Is Game In Progress == True;
- }
- actions
- {
"These are just headers for information about the mode for other players."
- "These are just headers for some information about the mode."
- Create HUD Text(All Players(All Teams), Custom String("Brig-Yeet-A! Created by Atmosfear!"), Null, Null, Right, 0, White, Yellow,
- Blue, Visible To and String, Default Visibility);
- Create HUD Text(All Players(All Teams), Custom String("Learned from other modes to create this one."), Null, Null, Right, 0, White,
- White, White, Visible To and String, Default Visibility);
- Create HUD Text(All Players(All Teams), Custom String("Left click to boop! Rally (Q) to fly!"), Null, Null, Right, 0, Red, White,
- White, Visible To and String, Default Visibility);
- }
- }
- rule("Whip Shot")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- conditions
- {
- Hero Of(Event Player) == Hero(Brigitte);
- Is Button Held(Event Player, Primary Fire) == True;
- }
- actions
- {
"This allows the player to left click instead of using shift for the whiplash to make it a bit more comfortable on them."
- "This makes it easier to play by letting you left click instead of using shift to use whip shot."
- Press Button(Event Player, Ability 1);
- }
- }