1
0
Fork 0

Updated DualControl: Minor update to the connect messages.

This commit is contained in:
Anders Gidenstam 2011-08-29 22:00:07 +02:00
parent 0caa3ebeda
commit 60305380be
2 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@
##
## Nasal for copilot for dual control over the multiplayer network.
##
## Copyright (C) 2007 - 2010 Anders Gidenstam (anders(at)gidenstam.org)
## Copyright (C) 2007 - 2011 Anders Gidenstam (anders(at)gidenstam.org)
## This file is licensed under the GPL license version 2 or later.
##
###############################################################################
@ -123,7 +123,8 @@ var connect = func (pilot) {
] ~ ADC.copilot_connect_pilot(pilot);
print("Dual control ... connected to pilot.");
setprop("/sim/messages/copilot", "Welcome aboard.");
setprop("/sim/messages/copilot", "Welcome aboard. I'm " ~
pilot.getNode("callsign").getValue() ~ ".");
}
var disconnect = func {

View file

@ -3,7 +3,7 @@
##
## Nasal for main pilot for dual control over the multiplayer network.
##
## Copyright (C) 2007 - 2010 Anders Gidenstam (anders(at)gidenstam.org)
## Copyright (C) 2007 - 2011 Anders Gidenstam (anders(at)gidenstam.org)
## This file is licensed under the GPL license version 2 or later.
##
###############################################################################
@ -30,7 +30,8 @@ var connect = func (copilot) {
process_data = ADC.pilot_connect_copilot(copilot);
print("Dual control ... copilot connected.");
setprop("/sim/messages/copilot", "Hi.");
setprop("/sim/messages/copilot", "Hi. I'm your copilot " ~
copilot.getNode("callsign").getValue() ~ ".");
}
######################################################################