aboutsummaryrefslogtreecommitdiff
path: root/atc_command.txt
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-01-07 23:58:05 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-01-07 23:58:05 +0100
commite9c76100a1f5ff474a4ed65555c3249b791bbf10 (patch)
treeb70910b94917a4d85f52aa1aaa9ddd0fe56b7a06 /atc_command.txt
parent8655eebc5fe8bf484ea2d96041b7b1bf70242e1b (diff)
downloadadvtrains-e9c76100a1f5ff474a4ed65555c3249b791bbf10.tar.gz
advtrains-e9c76100a1f5ff474a4ed65555c3249b791bbf10.tar.bz2
advtrains-e9c76100a1f5ff474a4ed65555c3249b791bbf10.zip
Add ATC "K" command
This command kicks out all passengers when the train is stopped and its doors are open. In addtion, a wagon:is_driver_stand(seat) function was added to allow finding out easily if a seat is the driver stand of the wagon.
Diffstat (limited to 'atc_command.txt')
-rw-r--r--atc_command.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/atc_command.txt b/atc_command.txt
index 3df60c8..0acbacb 100644
--- a/atc_command.txt
+++ b/atc_command.txt
@@ -46,6 +46,11 @@ Example:
B0 W OL D10 OC D1 SM
Subway train: stop in station and open doors, depart after 10 seconds.
+K
+Kick all passengers out of the trains
+This command kicks all passengers (non-driving players) off the train. This command works only
+if the train is stopped and its doors are open.
+
# conditional statements:
I<condition><code>;