@name FailCake Screen Test
@inputs T:entity BeaconZ BeaconDistance Link:wirelink
@outputs Altitude Health Distance Name:string
@persist Scr
@trigger all
z
interval(100)

Health = T:health()
Distance = round(BeaconDistance)
Name = T:name()


if (!T) 
{
    Altitude = 0 
    Link:writeString("No Target",0,0,123,411)
    }
else
{
    Link:writeString("Name: " + Name,0,0,123,411)
   Altitude = round(BeaconZ) + 54
}
