Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule ("") {
- event {
- ongoing-global;
- }
- actions {
- setGlobalVariable(B, currentMap);
- createHudText(allPlayers(AllTeams), customString("Interact: Spawn {0}", hero(D.va), null, null), null, null, Left, 0, Aqua, White, White, VisibleToAndString, Visiblealways);
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Ayutthaya);
- }
- actions {
- setGlobalVariable(A, vector(30, 21, 110));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Black Forest);
- }
- actions {
- setGlobalVariable(A, vector(-10.71, 22.11, 34.75));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Castillo);
- }
- actions {
- setGlobalVariable(A, vector(-108.15, 38.31, 26.32));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Ecopoint: Antartica);
- }
- actions {
- setGlobalVariable(A, vector(31.82, 16, 4.28));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(necropolis);
- }
- actions {
- setGlobalVariable(A, vector(-39.5, 9, 0));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Hanamura);
- }
- actions {
- setGlobalVariable(A, vector(89.68, -3.51, 94.48));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Blizzard World);
- }
- actions {
- setGlobalVariable(A, vector(3, -5, -106.62));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Busan);
- }
- actions {
- setGlobalVariable(A, vector(210.21, 9.21, 201.92));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- conditions {
- globalVariable(B) == Map(Dorado);
- }
- actions {
- setGlobalVariable(A, vector(76.15, 20, 16));
- }
- }
- rule ("") {
- event {
- ongoing-global;
- }
- actions {
- createDummyBot(hero(D.va), Team1, 3, globalVariable(A), vector(0, 0, 0));
- createDummyBot(hero(D.va), Team1, 4, globalVariable(A), vector(0, 0, 0));
- createDummyBot(hero(D.va), Team1, 5, globalVariable(A), vector(0, 0, 0));
- createDummyBot(hero(D.va), Team2, 3, globalVariable(A), vector(0, 0, 0));
- createDummyBot(hero(D.va), Team2, 4, globalVariable(A), vector(0, 0, 0));
- createDummyBot(hero(D.va), Team2, 5, globalVariable(A), vector(0, 0, 0));
- }
- }
- rule ("") {
- event {
- ongoing-eachplayer;
- all;
- all;
- }
- conditions {
- isDummyBot(eventPlayer) == false;
- hasSpawned(eventPlayer) == true;
- }
- actions {
- setPlayerVariable(eventPlayer, D, playersInSlot(add(slotOf(eventPlayer), 3), teamOf(eventPlayer)));
- createHudText(eventPlayer, playerVariable(eventPlayer, C), null, null, Left, 1, Yellow, White, White, VisibleToAndString, Defaultvisibility);
- chasePlayerVariableAtRate(eventPlayer, C, 0, 1, DestinationAndRate);
- }
- }
- rule ("") {
- event {
- ongoing-eachplayer;
- all;
- all;
- }
- conditions {
- isButtonHeld(eventPlayer, Interact) == true;
- playerVariable(eventPlayer, C) == 0;
- }
- actions {
- setFacing(playerVariable(eventPlayer, D), facingDirectionOf(eventPlayer), ToWorld);
- setPlayerVariable(playerVariable(eventPlayer, D), E, positionOf(eventPlayer));
- setPlayerVariable(playerVariable(eventPlayer, D), B, true);
- setPlayerVariable(eventPlayer, C, 3);
- createEffect(allPlayers(AllTeams), LightShaft, Purple, add(positionOf(eventPlayer), vector(0, -2, 0)), 1.5, VisibleTo);
- setPlayerVariable(eventPlayer, F, lastCreatedEntity);
- wait(2.1, IgnoreCondition);
- destroyEffect(playerVariable(eventPlayer, F));
- }
- }
- rule ("") {
- event {
- ongoing-eachplayer;
- all;
- all;
- }
- conditions {
- isDummyBot(eventPlayer) == true;
- heroOf(eventPlayer) == hero(D.va);
- hasSpawned(eventPlayer) == true;
- }
- actions {
- wait(1, IgnoreCondition);
- setDamageDealt(eventPlayer, 0);
- setStatus(eventPlayer, null, PhasedOut, 9999);
- setInvisible(eventPlayer, All);
- setPlayerVariable(eventPlayer, A, positionOf(eventPlayer));
- teleport(eventPlayer, globalVariable(A));
- }
- }
- rule ("") {
- event {
- ongoing-eachplayer;
- all;
- D.va;
- }
- conditions {
- hasSpawned(eventPlayer) == true;
- isDummyBot(eventPlayer) == true;
- }
- actions {
- setDamageReceived(eventPlayer, 300);
- }
- }
- rule ("") {
- event {
- ongoing-eachplayer;
- all;
- all;
- }
- conditions {
- playerVariable(eventPlayer, B) == true;
- heroOf(eventPlayer) == hero(D.va);
- isDummyBot(eventPlayer) == true;
- }
- actions {
- wait(0.032, IgnoreCondition);
- teleport(eventPlayer, playerVariable(eventPlayer, A));
- setUltimateCharge(eventPlayer, 100);
- pressButton(eventPlayer, Ultimate);
- wait(1.936, IgnoreCondition);
- setUltimateCharge(eventPlayer, 100);
- pressButton(eventPlayer, Ultimate);
- wait(0.016, IgnoreCondition);
- setUltimateCharge(eventPlayer, 100);
- pressButton(eventPlayer, Ultimate);
- wait(0.032, IgnoreCondition);
- teleport(eventPlayer, playerVariable(eventPlayer, E));
- playEffect(allPlayers(AllTeams), GoodExplosion, Purple, add(playerVariable(eventPlayer, E), vector(0, 1, 0)), 2);
- wait(0.176, IgnoreCondition);
- kill(eventPlayer, null);
- resurrect(eventPlayer);
- wait(0.35, IgnoreCondition);
- teleport(eventPlayer, globalVariable(A));
- setPlayerVariable(eventPlayer, B, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement