All pastes #556816 Raw Edit

Something

public text v1 · immutable
#556816 ·published 2007-06-10 19:32 UTC
rendered paste body
----------------------Goes With Other Create_thread code----------
004F: create_thread ££CARWASH02


--------------------------Goes Above mission 0-----------------

:CARWASH02
0001: wait  250 ms
00D6: if  0
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££CARWASH02
00D6: if  0
0103:   actor $PLAYER_ACTOR stopped_near_point_in_car  2454.918 -1461.145  24.236 radius  6.0  6.0  4.0 sphere  1
004D: jump_if_false ££CARWASH02
03C0: @0 = actor $PLAYER_ACTOR car
00AA: store_car @0 position_to @1 @2 @3
0227: @4 = car @0 health
08EC: @6 = car @0 type
0441: @7 = car @0 model
03F3: get_car @0 color @90 @91
0247: request_model @7

:CARWASH03
0001: wait  0 ms
00D6: if  0
0248:   model @7 available
004D: jump_if_false ££CARWASH03
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at  2454.702 -1461.226 24
00A6: destroy_car @0
00A5: @5 = create_car @7 at  @1  @2  22.0
0175: set_car @5 z_angle_to  90.0
036A: put_actor $PLAYER_ACTOR in_car @5
0224: set_car @5 health_to @4
0229: set_car @5 color_to  @90  @91
0249: release_model @7
01C3: remove_references_to_car @5;; Like turning a car into any random car

:CARWASH04
0001: wait  250 ms
00D6: if  0
0256:   player $PLAYER_CHAR defined
004D: jump_if_false ££CARWASH02
00D6: if  0
00FE:   actor $PLAYER_ACTOR  0 ()near_point  2454.918 -1461.145  24.236 radius  6.0  6.0  4.0
004D: jump_if_false ££CARWASH02
0002: jump ££CARWASH04