Jump to content

Move Up A Mission (Dam And Blast) In Mission Order/Flow.. Is It Possible?


ArmanCan

Recommended Posts

My request ist pretty simple.. at least it seems like this 😃

 

DEFINE MISSION 97 AT @HEIST3           // Key To Her Heart
DEFINE MISSION 98 AT @HEIST2           // Dam And Blast

 

I'm just trying to change thes two in the mission flow and looking for to start the "Dam And Blast" mission first.. off course "Key To Her Heart" will be the next.. How can i do this without too much diving into the main.scm ?

 

Have a nice week 😎

Link to comment
Share on other sites

the mission sniffer

:HEIST_180
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 1 
004D: jump_if_false @HEIST_232 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_3' time 1000 style 2  // Key to her Heart
0050: gosub @PSAVE1_3405 
0417: start_mission 97  // Key To Her Heart

:HEIST_232
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 2 
004D: jump_if_false @HEIST_284 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_2' time 1000 style 2  // Dam and Blast
0050: gosub @PSAVE1_3405 
0417: start_mission 98  // Dam And Blast

 

change mission number

:HEIST_180
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 1 
004D: jump_if_false @HEIST_232 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_3' time 1000 style 2  // Key to her Heart
0050: gosub @PSAVE1_3405 
0417: start_mission 98  // Dam And Blast

:HEIST_232
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 2 
004D: jump_if_false @HEIST_284 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_2' time 1000 style 2  // Dam and Blast
0050: gosub @PSAVE1_3405 
0417: start_mission 97  // Key To Her Heart

or

change global var check

:HEIST_180
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 2 
004D: jump_if_false @HEIST_232 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_3' time 1000 style 2  // Key to her Heart
0050: gosub @PSAVE1_3405 
0417: start_mission 97  // Key To Her Heart

:HEIST_232
00D6: if 
0038:   $HEIST_TOTAL_PASSED_MISSIONS == 1 
004D: jump_if_false @HEIST_284 
0004: $ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_2' time 1000 style 2  // Dam and Blast
0050: gosub @PSAVE1_3405 
0417: start_mission 98  // Dam And Blast

 

you need to test it

i don't know if it works without problems

Link to comment
Share on other sites

23 minutes ago, ZAZ said:

change mission number

ich habe sie (letzte drei Codes) mit ihrem GXT getauscht..lass mich ein Rund starten und herausfinden ob ich das geschafft habe 😉

 

Ohh apropos.. ich wohne gerade in meinem Heimatland und ich habe zurzeit keine Möglichkeit, um nach Deutschland zu fliegen und dort Sommer zu genießen. Aus diesem Grund iss bitte Spargelsuppe und Erdbeere für mich.. ok.. 😎

Edited by ArmanCan
Link to comment
Share on other sites

On 6/5/2023 at 11:07 PM, ZAZ said:

i don't know if it works without problems

ok.. i did a full %100 run and it worked... 😉

 

:HEIST_180
if 
  $HEIST_TOTAL_PASSED_MISSIONS == 1 
jf @HEIST_232 
$ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_3' time 1000 style 2  // Key to her Heart
PSAVE1_3405()
start_mission 97  // Key To Her Heart

:HEIST_232
if 
  $HEIST_TOTAL_PASSED_MISSIONS == 2 
jf @HEIST_284 
$ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_2' time 1000 style 2  // Dam and Blast
PSAVE1_3405()
start_mission 98  // Dam And Blast

i've just switched the last three opcodes.. i mean like this..

:HEIST_180
if 
  $HEIST_TOTAL_PASSED_MISSIONS == 1 
jf @HEIST_232 
$ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_2' time 1000 style 2  // Dam and Blast
PSAVE1_3405()
start_mission 98  // Dam And Blast

:HEIST_232
if 
  $HEIST_TOTAL_PASSED_MISSIONS == 2 
jf @HEIST_284 
$ONMISSION = 1 
00BA: show_text_styled GXT 'HEIST_3' time 1000 style 2  // Key to her Heart
PSAVE1_3405()
start_mission 97  // Key To Her Heart

 

oh apropos.. ich habe eine Nachricht angeschaut und sie nannten eine Hitzewelle.. passt dich auf, bitte bleibt Gesund und vergiss das nicht, Wasser zu trinken 😎

 

Vielen Dank für deine Hilfe.. bis nächstes Mal..🙂

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.