# Multiplayer races from free roam in a crowd, a joining side (with mprace_lobby_a.txt as the host): the host's start
# packed with other players (roam-crowd --track of rings 2 to 8 m round it), this player stops 12 m east of the start,
# within reach of the lobby (MP_JOIN_M 15 m) but farther than the crowd: the hub links it with the host first, so the
# lobby is heard of and Enter joins it; then the trip and the race, as mprace_lobby_b.txt.
#   roam-crowd --n 50 --track <rings round the start> --room <r>, then roam-pair --seed <frikand>
#        --a Ann:mprace_lobby_a.txt --b Bob:mprace_crowd_b.txt --env NFSU2_ROAM_ROOM=<r> --env MP_RACE=S2_SPRINT_3
#        --env MP_PLAYERS=2 --env MP_X=-865 --env MP_Y=-870
0     bot on
+0    waitroam 6000
+0    bot off
+0    roam smsauto on
+0    roam mp waitpeers 1 12000
+600  careergo ${MP_RACE}
+120  teleport ${MP_X} ${MP_Y} 19.2
+0    log LOBBY at the start, 12 m out
+0    roam mp waitlobby 0 3600
+0    roam mp lobby
+30   roam mp lobby
+0    log LOBBY join
+0    tap RETURN
+120  roam mp lobby
+0    roam mp waitlobby 2 600
+0    roam mp lobby
+0    log LOBBY trip
+0    waitexpr i:0x850078 == 512 6000
+0    waitmem 0x008654a4 6 20000
+0    log LOBBY race
+0    autopilot on 6000
+0    roam mp waittrip 40000
+0    roam mp lobby
+0    log LOBBY DONE
+60   quit
