5,389
edits
m (→func change_terminaldoor_light: oops) |
(→func i_uh_heheheh: so much for ssg's "overcommented" scripts... sigh) |
||
Line 625: | Line 625: | ||
} | } | ||
===func i_uh_heheheh=== | ===func i_uh_heheheh=== | ||
This forces the two Red Strikers from the final fight to retreat to the end-of-level door when and if Konoko is about to unlock it from the faraway console. The [[TRGV|trigger volume]] responsible for this is '''i_uh_heheheh1''' (number 6): '''func i_uh_heheheh''' is its '''entry''' function; it spans the stairs that lead to the [[OBD:BINA/OBJC/CONS|console]] number 4. That trigger volume is disabled at level start. It's enabled in '''[[BSL:Tutorial/airport1 level logic.bsl#func final_ambush|func final_ambush]]''' (see above), after both Strikers are spawned. Once enabled, it can only be triggered once, and only by the player. | |||
:Note the typically inconsistent '''string char_index''' parameter: actually the ''name'' of the character who fired the trigger volume function. | :Note the typically inconsistent '''string char_index''' parameter: this is actually the ''name'' of the character who fired the trigger volume function. | ||
func void i_uh_heheheh(string char_index) | func void i_uh_heheheh(string char_index) | ||
{ | { | ||
Line 633: | Line 633: | ||
ai2_dopath finalam_striker_2 strategic_retreat2 | ai2_dopath finalam_striker_2 strategic_retreat2 | ||
} | } | ||
==### DOOR LOCK LIGHTS ###== | ==### DOOR LOCK LIGHTS ###== | ||
===func change_terminaldoor_light=== | ===func change_terminaldoor_light=== |