Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.45 KB | None | 0 0
  1. Create Bomb
  2.     Options: Action
  3.     Return Type: (None)
  4.     Parameters
  5.         Point = No Point <Point>
  6.     Grammar Text: Create a Bomb On Point
  7.     Hint Text: (None)
  8.     Custom Script Code
  9.     Local Variables
  10.         Units = No Unit <Unit[3]>
  11.         Checker = 0 <Integer>
  12.     Actions
  13.         Environment - Create a Large Terran explosion at Point
  14.         Unit - Create 1 Box for player 0 at Point facing 90.0 degrees (Ignore Placement)
  15.         Unit - Turn (Last created unit) Movable state Off
  16.         Variable - Set Units[0] = (Last created unit)
  17.         Unit - Create 1 Box for player 0 at Point facing 180.0 degrees (Ignore Placement)
  18.         Unit - Turn (Last created unit) Movable state Off
  19.         Variable - Set Units[1] = (Last created unit)
  20.         Unit - Create 1 Box for player 0 at Point facing 270.0 degrees (Ignore Placement)
  21.         Unit - Turn (Last created unit) Movable state Off
  22.         Variable - Set Units[2] = (Last created unit)
  23.         Unit - Create 1 Box for player 0 at Point facing 360.0 degrees (Ignore Placement)
  24.         Unit - Turn (Last created unit) Movable state Off
  25.         Variable - Set Units[3] = (Last created unit)
  26.         Sound - Play Terran_ExplosionLarge for (All players) at Point with Z offset 0.0 (at 100.0% volume, skip the first 0.0 seconds)
  27.         General - Pick each integer from 0 to 3, and do (Actions)
  28.             Actions
  29.                 Unit - Turn Units[(Picked integer)] Invulnerable state On
  30.                 Unit - Turn Units[(Picked integer)] Hidden state On
  31.                 Actor - Attach Hellion Attack Beam to Weapon Left on Units[(Picked integer)]
  32.         Unit Group - Pick each unit in (Any units in (Region(((X of Point) - 1.0), ((Y of Point) - 6.5), ((X of Point 001) + 1.0), ((Y of Point) + 6.5))) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
  33.             Actions
  34.                 Unit - Kill (Picked unit)
  35.         Unit Group - Pick each unit in (Any units in (Region(((X of Point) - 6.5), ((Y of Point) - 1.0), ((X of Point 001) + 6.5), ((Y of Point) + 1.0))) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
  36.             Actions
  37.                 Unit - Kill (Picked unit)
  38.         General - Wait 0.6 Real Time seconds
  39.         General - Pick each integer from 0 to 3, and do (Actions)
  40.             Actions
  41.                 Unit - Remove Units[(Picked integer)] from the game
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement