Date: 2017/02/14 07:19:56 UTC-08:00
Type: Denizen Script
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