Rev | Line | |
---|
[407] | 1 | #
|
---|
| 2 | # tctf_objectives.bsl
|
---|
| 3 | #
|
---|
| 4 | # SCRIPTS TO SET LEVEL OBJECTIVES/HINTS
|
---|
| 5 | #
|
---|
| 6 | func void set_objective_1(void)
|
---|
| 7 | {
|
---|
| 8 | dprint set_objective_1
|
---|
| 9 | objective_set(1)
|
---|
| 10 | target_set(323,30.0)
|
---|
| 11 | }
|
---|
| 12 | func void set_objective_2(string ai_name)
|
---|
| 13 | {
|
---|
| 14 | dprint set_objective_2
|
---|
| 15 | objective_set(2)
|
---|
| 16 | target_set(1111, 30.0)
|
---|
| 17 |
|
---|
| 18 | }
|
---|
| 19 | func void set_objective_3(string ai_name)
|
---|
| 20 | {
|
---|
| 21 | dprint set_objective_3
|
---|
| 22 | objective_set(3)
|
---|
| 23 | target_set(60,30.0)
|
---|
| 24 | }
|
---|
| 25 | func void set_objective_4(string ai_name)
|
---|
| 26 | {
|
---|
| 27 | dprint set_objective_4
|
---|
| 28 | if(elev_count ne 1)
|
---|
| 29 | {
|
---|
| 30 | trigvolume_enable trigger_volume_81 1
|
---|
| 31 | objective_set(4)
|
---|
| 32 | particle obj1 create
|
---|
| 33 | target_set(9999, 30.0)
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | func void set_objective_5(string ai_name)
|
---|
| 38 | {
|
---|
| 39 | dprint set_objective_5
|
---|
| 40 | objective_set(5)
|
---|
| 41 | target_set(58,30.0)
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 | func void you_lose(string ai_name)
|
---|
| 45 | {
|
---|
| 46 | sleep 240
|
---|
| 47 | fade_out 0 0 0 180
|
---|
| 48 | sleep 240
|
---|
| 49 | lose
|
---|
| 50 | }
|
---|
| 51 | func void you_win(int char_index)
|
---|
| 52 | {
|
---|
| 53 | win
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | ### TEXT CONSOLES ###
|
---|
| 57 |
|
---|
| 58 | func void level_8a(void)
|
---|
| 59 | {
|
---|
| 60 | dprint text_8a
|
---|
| 61 | text_console level_8a
|
---|
| 62 | console_reset 17
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | func void level_8b(void)
|
---|
| 66 | {
|
---|
| 67 | dprint text_8b
|
---|
| 68 | text_console level_8b
|
---|
| 69 | console_reset 12
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | func void level_8c(void)
|
---|
| 73 | {
|
---|
| 74 | dprint text_8c
|
---|
| 75 | text_console level_8c
|
---|
| 76 | console_reset 14
|
---|
| 77 | }
|
---|
| 78 |
|
---|
| 79 | func void level_8d(void)
|
---|
| 80 | {
|
---|
| 81 | dprint text_8d
|
---|
| 82 | text_console level_8d
|
---|
| 83 | console_reset 16
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | func void level_8e(void)
|
---|
| 87 | {
|
---|
| 88 | dprint text_8e
|
---|
| 89 | text_console level_8e
|
---|
| 90 | console_reset 15
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | func void level_8f(void)
|
---|
| 94 | {
|
---|
| 95 | dprint text_8f
|
---|
| 96 | text_console level_8f
|
---|
| 97 | console_reset 13
|
---|
| 98 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.