cj360 Posted November 26, 2008 Share Posted November 26, 2008 (edited) 0871: init_jump_table [email protected] total_jumps 7 default_jump 0 @NE_MISSION_1719 jumps 0 @NE_MISSION_1719 1 @NE_MISSION_1809 2 @NE_MISSION_1899 3 @NE_MISSION_1989 4 @NE_MISSION_2079 5 @NE_MISSION_2169 6 @NE_MISSION_2259 0872: jump_table_jumps 7 @NE_MISSION_2349 8 @NE_MISSION_2439 9 @NE_MISSION_2529 10 @NE_MISSION_2619 11 @NE_MISSION_2709 12 @NE_MISSION_2799 :NE_MISSION_1719009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2735.8401 -196.7804 4.3359 02A8: [email protected] = create_marker 37 at -2735.8401 -196.7804 4.3359018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_1809009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2444.9768 -164.4762 35.3378 02A8: [email protected] = create_marker 37 at -2444.9768 -164.4762 35.3378 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_1899009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2107.7231 -274.9823 35.3203 02A8: [email protected] = create_marker 37 at -2107.7231 -274.9823 35.3203 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_1989009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -1825.9663 -188.0571 13.1119 02A8: [email protected] = create_marker 37 at -1825.9663 -188.0571 13.1119 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2079009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2688.3904 203.041 4.3359 02A8: [email protected] = create_marker 37 at -2688.3904 203.041 4.3359 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2169009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2091.689 386.5434 35.1719 02A8: [email protected] = create_marker 37 at -2091.689 386.5434 35.1719 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2259009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2031.091 -2004.124 80.577 02A8: [email protected] = create_marker 37 at -2031.091 -2004.124 80.577 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2349009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2902.9773 705.2364 28.074 02A8: [email protected] = create_marker 37 at -2902.9773 705.2364 28.074 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2439009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -1686.6295 943.3002 24.8906 02A8: [email protected] = create_marker 37 at -1686.6295 943.3002 24.8906 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2529009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2565.3564 979.2849 78.3149 02A8: [email protected] = create_marker 37 at -2565.3564 979.2849 78.3149 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2619009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -2637.2114 1401.6266 24.5625 02A8: [email protected] = create_marker 37 at -2637.2114 1401.6266 24.5625 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2709009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -1990.3392 1230.2028 31.6484 02A8: [email protected] = create_marker 37 at -1990.3392 1230.2028 31.6484 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 :NE_MISSION_2799009A: [email protected] = create_actor_pedtype 3 model #SPECIAL02 at -1501.8799 1374.5717 3.4825 02A8: [email protected] = create_marker 37 at -1501.8799 1374.5717 3.4825 018B: set_marker [email protected] radar_mode 2 04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0 0002: jump @NE_MISSION_4725 I probably messed up somewhere in the 1st & 2nd lines but I can't seem to fix it. help plz Edited November 26, 2008 by cj360 Link to comment Share on other sites More sharing options...
[SM]CJZera Posted November 26, 2008 Share Posted November 26, 2008 When Sannybuilder complains about not enough params you get your pointer moved to the wrong line Link to comment Share on other sites More sharing options...
cj360 Posted November 26, 2008 Author Share Posted November 26, 2008 So the error might be above or below the first line? Link to comment Share on other sites More sharing options...
ZAZ Posted November 26, 2008 Share Posted November 26, 2008 So the error might be above or below the first line? You must set by total_jumps how many jumps are should used Exemble: [email protected] total_jumps 21 :GRLXX_10280871: init_jump_table [email protected] total_jumps 21 0 @GRLXX_1061 jumps 0 @GRLXX_1030 3 @GRLXX_1031 4 @GRLXX_1032 5 @GRLXX_1033 6 @GRLXX_1034 7 @GRLXX_1035 8 @GRLXX_1036 0872: jump_table_jumps 9 @GRLXX_1037 10 @GRLXX_1040 11 @GRLXX_1041 12 @GRLXX_1042 13 @GRLXX_1043 14 @GRLXX_1044 15 @GRLXX_1045 16 @GRLXX_1046 17 @GRLXX_1047 0872: jump_table_jumps 18 @GRLXX_1048 19 @GRLXX_1049 20 @GRLXX_1050 21 @GRLXX_1051 -1 @GRLXX_1061 -1 @GRLXX_1061 -1 @GRLXX_1061 -1 @GRLXX_1061 -1 @GRLXX_1061 if you wonna use the jumps of the second line 0872: needs to increase the total_jumps value But your error means: There are missing jump-parameter in your 0872: line, it needs 9 jumps 0872: jump_table_jumps 7 @NE_MISSION_2349 8 @NE_MISSION_2439 9 @NE_MISSION_2529 10 @NE_MISSION_2619 11 @NE_MISSION_2709 12 @NE_MISSION_2799 0872: jump_table_jumps 9 @GRLXX_1037 10 @GRLXX_1040 11 @GRLXX_1041 12 @GRLXX_1042 13 @GRLXX_1043 14 @GRLXX_1044 15 @GRLXX_1045 16 @GRLXX_1046 17 @GRLXX_1047 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
cj360 Posted November 27, 2008 Author Share Posted November 27, 2008 Thx man but I tired the thing you said to this and I screwed up somewhere else I did I make the same error again: :BF_MISSION_50080209: [email protected] = random_int_in_ranges 0 3 0871: init_jump_table [email protected] total_jumps 3 default_jump 0 @BF_MISSION_5095 jumps 0 @BF_MISSION_5095 1 @BF_MISSION_5122 2 @BF_MISSION_5157 3 @BF_MISSION_5183 :BF_MISSION_509505C2: AS_actor [email protected] show_the_finger 0002: jump @BF_MISSION_5269 :BF_MISSION_512205C8: AS_actor [email protected] look_around 0002: jump @BF_MISSION_5269 :BF_MISSION_515706E3: AS_actor [email protected] roll_sideways 1 0001: wait 1000 ms 06E3: AS_actor [email protected] roll_sideways 0 0002: jump @BF_MISSION_5269 :BF_MISSION_51830812: AS_actor [email protected] perform_animation "CRCKIDLE2" IFP_file "CRACK" 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time 2000 // versionB 0002: jump @BF_MISSION_5269 Link to comment Share on other sites More sharing options...
Jabhacksoul Posted November 27, 2008 Share Posted November 27, 2008 (edited) I really hate using jump tables at all, in fact I don't use them at all. But your table has 4 jumps not 3 follow this logic. Your code calls for random numbers 0 to 3. So 0,1,2,3 a total of 4 numbers generated at random. 0871: init_jump_table [email protected] total_jumps 3 default_jump 0 @BF_MISSION_5095 jumps 0 @BF_MISSION_5095 1 @BF_MISSION_5122 2 @BF_MISSION_5157 3 @BF_MISSION_5183 should read 0871: init_jump_table [email protected] total_jumps 4 default_jump 0 @BF_MISSION_5095 jumps 0 @BF_MISSION_5095 1 @BF_MISSION_5122 2 @BF_MISSION_5157 3 @BF_MISSION_5183 -1 @BF_MISSION_5095 -1 @BF_MISSION_5095 -1 @BF_MISSION_5095 I believe the -1 parts are just overflow buffers but are required by the mission code. JAB BTW if you want to save the headache do it like this instead: 0209: [email protected] = random_int_in_ranges 0 [email protected] == 0thenjump @[email protected] == 1thenjump @[email protected] == 2thenjump @BF_MISSION_5157end// must be 3jump @BF_MISSION_5183 Whatever works for you. Edited November 27, 2008 by Jabhacksoul Link to comment Share on other sites More sharing options...
cj360 Posted November 27, 2008 Author Share Posted November 27, 2008 Thx dude and yes your methed is way less confusing than jump tables. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now