Paste #569: Raining Exploding Arrows

Date: 2013/12/15 16:21:06 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7


on player right clicks with i@TestStick:
    - repeat 50 {
      - define roof <player.location.y.add[10].as_int>
      - define Xrange <util.random.int[<player.location.x.add[+10].as_int>].to[<player.location.x.add[-10].as_int>]>
      - define Zrange <util.random.int[<player.location.z.add[+10].as_int>].to[<player.location.z.add[-10].as_int>]>
      - push ARROW origin:%Xrange%,%roof%,%Zrange%,survive destination:<l@%Xrange%,0,%Zrange%,survive.highest> speed:0.5
      - explode %location% }