Paste #23882: Edit of P#23881 - Edit of P#23880 - Line

Date: 2015/12/17 07:43:27 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 len <def[loc1].as_location.distance[<def[loc2]>]>
    - define jump <def[loc1].sub[<def[loc2]>].div[<def[len]>]>
    - repeat <def[len]> { 
        - playeffect <def[loc1].sub[<def[jump].mul[<def[value]>]>]> effect:RED_DUST qty:3 data:0 offset:0.0
    }