185
edits
(→Setting up a transmitter: spelling) |
(→Multiplayer bridge: fix broken code lines) |
||
Line 300: | Line 300: | ||
if (notification.NotificationType == "GeoEventNotification") | if (notification.NotificationType == "GeoEventNotification") | ||
{ | { | ||
print("received GeoNotification from | print("received GeoNotification from ",notification.Callsign); | ||
",notification.Callsign); | print (" pos=",notification.Position.lat(),notification.Position.lon(),notification.Position.alt()); | ||
print (" | print (" kind=",notification.Kind, " skind=",notification.SecondaryKind); | ||
pos=",notification.Position.lat(),notification.Position.lon(),notification.Position.alt()); | |||
print (" kind=",notification.Kind, " | |||
skind=",notification.SecondaryKind); | |||
if(notification.FromIncomingBridge) | if(notification.FromIncomingBridge) | ||
{ | { | ||
if(notification.Kind == 1)# created | if(notification.Kind == 1)# created | ||
{ | { | ||
if(notification.SecondaryKind >= 48 and | if(notification.SecondaryKind >= 48 and notification.SecondaryKind <= 63) | ||
notification.SecondaryKind <= 63) | |||
{ | { | ||
# TBD: animate drop tanks | # TBD: animate drop tanks | ||
Line 321: | Line 317: | ||
return emesary.Transmitter.ReceiptStatus_NotProcessed; | return emesary.Transmitter.ReceiptStatus_NotProcessed; | ||
}; | }; | ||
new_class.Response = | new_class.Response = ANSPN46ActiveResponseNotification.new("ARA-63"); | ||
ANSPN46ActiveResponseNotification.new("ARA-63"); | |||
return new_class; | return new_class; | ||
}, | }, |
edits