19,499
edits
m (link fix) |
m (+finish; removed unnecessary page name from intrapage section links) |
||
Line 1: | Line 1: | ||
{{finish}} | |||
{|style="float:right" | {|style="float:right" | ||
|__TOC__ | |__TOC__ | ||
Line 52: | Line 53: | ||
particle fx3 do start | particle fx3 do start | ||
particle exhaust create | particle exhaust create | ||
[[ | [[#func Tarmac1|Tarmac1]] | ||
trigvolume_enable tarmac 0 | trigvolume_enable tarmac 0 | ||
trigvolume_enable trigger_volume_03 0 | trigvolume_enable trigger_volume_03 0 | ||
Line 109: | Line 110: | ||
func void you_lose(string ai_name) | func void you_lose(string ai_name) | ||
{ | { | ||
[[ | [[#func all_music_counters|all_music_counters]] | ||
[[sleep]] 240 | [[sleep]] 240 | ||
[[fade_out]] 0 0 0 180 | [[fade_out]] 0 0 0 180 | ||
Line 119: | Line 120: | ||
func void you_win(int char_index) | func void you_win(int char_index) | ||
{ | { | ||
[[ | [[#func all_music_counters|all_music_counters]] | ||
[[win]] | [[win]] | ||
} | } | ||
Line 235: | Line 236: | ||
{ | { | ||
[[sleep]] 4500 | [[sleep]] 4500 | ||
[[if]] (0 ne [[ | [[if]] (0 ne [[#var music_counter|music_counter]]) | ||
{ | { | ||
[[dprint]] music_force_stop | [[dprint]] music_force_stop | ||
music_counter = 0 | music_counter = 0 | ||
[[ | [[#func all_music_counters|all_music_counters]] | ||
} | } | ||
} | } | ||
Line 245: | Line 246: | ||
func void music_script_start(void) | func void music_script_start(void) | ||
{ | { | ||
[[ | [[#var music_counter|music_counter]] = 2 | ||
} | } | ||
===func striker_lullaby_1=== | ===func striker_lullaby_1=== | ||
Line 251: | Line 252: | ||
{ | { | ||
[[dprint]] striker_lullaby1 | [[dprint]] striker_lullaby1 | ||
[[ | [[#var music_counter|music_counter]] = music_counter - 1 | ||
[[if]] (music_counter eq 0) | [[if]] (music_counter eq 0) | ||
{ | { | ||
[[ | [[#func all_music_counters|all_music_counters]](); | ||
[[sleep]] f120 | [[sleep]] f120 | ||
} | } | ||
Line 262: | Line 263: | ||
{ | { | ||
[[dprint]] striker_lullaby2 | [[dprint]] striker_lullaby2 | ||
[[ | [[#var music_counter|music_counter]] = music_counter - 1 | ||
[[if]] (music_counter eq 0) | [[if]] (music_counter eq 0) | ||
{ | { | ||
[[ | [[#func all_music_counters|all_music_counters]](); | ||
[[sleep]] f120 | [[sleep]] f120 | ||
} | } | ||
Line 669: | Line 670: | ||
[[particle]] door2_locklight01 do start | [[particle]] door2_locklight01 do start | ||
sleep 150 | sleep 150 | ||
[[ | [[#func set_objective_3|set_objective_3]] | ||
[[ | [[#func set_target_6|set_target_6]] | ||
[[cm_reset]] | [[cm_reset]] | ||
input 1 | input 1 | ||
Line 688: | Line 689: | ||
input 1 | input 1 | ||
} | } | ||
[[Category:Modding tutorials]] | [[Category:Modding tutorials]] |