Date: 2016/03/16 17:46:11 UTC-07:00
Type: Denizen Script
leashinteract:
type: interact
steps:
1:
click trigger:
script:
- if <player.location.find.entities[HORSE].within[5].size> >= 1 {
- foreach <player.location.find.entities[HORSE].within[5]> {
- if <%value%.get_leash_holder> == <player> {
- animate <npc> animation:ARM_SWING
- modifyblock l@608,65,118,newwold m@fence
- leash %value% holder:l@608,65,118,newwold
}
}
}