Paste #23880: Line

Date: 2015/12/17 07:32:03 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10


Final_Line:
    type: task
    script:
    - define loc1 <server.flag[Final_Position].as_location.find.players.within[30].random.location>
    - define loc2 <server.flag[Final_Position].as_location.add[l@0,3,0,world]>
    - define line <def[loc2].face[<def[loc1]>]>
    - narrate "<def[loc1].facing[<def[loc2]>]>"
    - repeat <def[loc1].as_location.distance[<def[loc2]>].round> {
        - playeffect <def[loc2].location.cursor_on[<def[value]>]> effect:RED_DUST qty:3 data:0 offset:0.0
    }