Paste #39913: Untitled Paste

Date: 2017/02/14 07:19:56 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


RollerCoaster_Create_Task:
  type: task
  debug: minimal
  north:
    - repeat <def[length].to_number>:
      - spawn armor_stand <context.location.subtract[-0.5,0,<number[-0.5].add[<def[repeat_index]>]>]> has_gravity:false
      - editentity <[spawn_entity]> rotation:0,180,0
  south:
    - repeat <def[length].to_number>:
      - spawn armor_stand <context.location.add[0.5,0,<number[0.5].add[<def[repeat_index]>]>]> has_gravity:false
      - editentity <[spawn_entity]> rotation:0,0,0
  east:
    - repeat <def[length].to_number>:
      - spawn armor_stand <context.location.add[<number[0.5].add[<def[repeat_index]>]>,0,0.5]> has_gravity:false
      - editentity <[spawn_entity]> rotation:0,270,0
  west:
    - repeat <def[length].to_number>:
      - spawn armor_stand <context.location.subtract[<number[-0.5].add[<def[repeat_index]>]>,0,-0.5]> has_gravity:false
      - editentity <[spawn_entity]> rotation:0,90,0