I want to modify the beginning of the Checkpoint Charlie mission.
I was trying for hours, days, but the game always crash. I think, player $PLAYER_CHAR driving_vehicle_type causes the crash. What's the problem with it?
The concept is that the player have to stand in a pink sphere to start the mission. After that, enter a boat.
(The pink sphere part works, but before I could enter a boat, the game crashes.)
Here is the code:
:Label134102 0001: wait $DEFAULT_WAIT_TIME ms 00D6: if 0 0256: player $PLAYER_CHAR defined 004D: jump_if_false ŁŁLabel134102 00D6: if 21 00DE: player $PLAYER_CHAR driving_vehicle_type #SQUALO 00DE: player $PLAYER_CHAR driving_vehicle_type #JETMAX 004D: jump_if_false ŁŁLabel134102 00D6: if 0 00F7: player $PLAYER_CHAR 1 ()near_point_in_car -585.8 -1506.8 5.0 radius 14.0 14.0 4.0 004D: jump_if_false ŁŁLabel134102 018A: [email protected] = create_checkpoint_at -540.1 -1526.9 8.0 024F: create_corona 4.0 5 0 with_color 0 200 200 at_point -540.1 -1526.9 8.0 00D6: if 0 0039: [email protected] == 0 ;; integer values 004D: jump_if_false ŁLabel13416A 0213: [email protected] = create_pickup #CRAIGPACKAGE type 3 at -540.1 -1526.9 8.0 0006: [email protected] = 1 ;; integer values
I added only a few new items.
From this line, everything is default:
018A: [email protected] = create_checkpoint_at -540.1 -1526.9 8.0