#Mission Info $Version: 0.10 $Name: XSTR("Special Hits VS when-argument", -1) $Author: Rnaosm $Created: 07/22/08 at 14:06:53 $Modified: 07/22/08 at 14:58:25 $Notes: This is a FRED2_OPEN created mission. $End Notes: $Mission Desc: XSTR("Put mission description here ", -1) $end_multi_text +Game Type Flags: 1 +Flags: 0 +Disallow Support: 0 +Hull Repair Ceiling: 0.000000 +Subsystem Repair Ceiling: 100.000000 +Viewer pos: 53.031620, 1140.511475, 291.527679 +Viewer orient: 1.000000, 0.000000, 0.000000, 0.000000, 0.060036, 0.998196, 0.000000, -0.998196, 0.060036 $AI Profile: FS2 RETAIL #Sexp_variables $Variables: ( 90 "Hits 4" "580" "block" 91 "Hits 4" "380" "block" 92 "Hits 3" "580" "block" 93 "Hits 3" "380" "block" 94 "Hits 2" "580" "block" 95 "Hits 2" "380" "block" 96 "Hits 1" "580" "block" 97 "Hits 1" "380" "block" 98 "Special Hits" "1080" "block" 99 "Special Hits" "480" "block" ) #Command Briefing #Briefing $start_briefing $num_stages: 1 $start_stage $multi_text XSTR("$f Hits wing has special hitpoints. $f No $f Hits wing does not. Pressing 1 will use when-argument to warp out $f Hits wing if any of them are at 100 percent hull. Pressing 2 will use when to do the same. Pressing 3 will perform the first when-argument operation on $f No $f Hits wing.", -1) $end_multi_text $voice: none.wav $camera_pos: 53.031620, 1140.511475, 291.527679 $camera_orient: 1.000000, 0.000000, 0.000000, 0.000000, 0.060036, 0.998196, 0.000000, -0.998196, 0.060036 $camera_time: 500 $num_lines: 0 $num_icons: 2 $Flags: 0 $Formula: ( true ) $start_icon $type: 1 $team: Friendly $class: GTF Ulysses $pos: -370.143524, 0.000046, 240.889847 $label: Hits +id: 1 $hlight: 0 $mirror: 0 $multi_text $end_multi_text $end_icon $start_icon $type: 1 $team: Friendly $class: GTF Ulysses $pos: 382.005920, 0.000005, 531.633179 $label: No Hits +id: 2 $hlight: 0 $mirror: 0 $multi_text $end_multi_text $end_icon $end_stage $end_briefing #Debriefing_info $Num stages: 0 #Players ;! 1 total $Starting Shipname: Alpha 1 $Ship Choices: ( "GTF Ulysses" 5 "GTF Hercules" 5 "GTF Hercules Mark II" 5 "GTF Ares" 5 "GTF Erinyes" 5 "GTF Loki" 5 "GTF Pegasus" 5 "GTF Perseus" 5 "GTF Myrmidon" 5 "SF Mara (terrans)" 5 "GTB Artemis" 5 "GTB Artemis D.H." 5 "GTB Medusa" 5 "GTB Ursa" 5 "GTB Zeus" 5 "GTB Boanerges" 5 "GVF Ptah" 5 ) +Weaponry Pool: ( "Subach HL-7" 17 "Subach HL-D" 16 "Mekhu HL-7" 16 "Mekhu HL-7D" 16 "Akheton SDG" 16 "Morning Star" 16 "MorningStar D" 16 "Prometheus R" 17 "Prometheus S" 16 "Prometheus D" 16 "Maxim" 16 "Maxim D" 16 "UD-8 Kayser" 16 "UD-D Kayser" 16 "Circe" 16 "Lamprey" 16 "Targeting Laser" 16 "Rockeye" 500 "Rockeye D" 500 "Tempest" 500 "Tempest D" 500 "Hornet" 500 "Hornet D" 500 "Tornado" 500 "Tornado D" 500 "Harpoon" 516 "Harpoon D" 500 "Trebuchet" 500 "TAG-A" 500 "TAG-B" 500 "TAG-C" 500 "Piranha" 500 "Stiletto II" 500 "Infyrno" 500 "Infyrno D" 500 "Cyclops" 500 "Cyclops#short" 500 "Helios" 500 "EMP Adv." 500 ) #Objects ;! 9 total $Name: Alpha 1 ;! Object #0 $Class: GTF Ulysses $Team: Friendly $Location: 0.000000, 0.000000, 0.000000 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" "protect-ship" "player-start" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: Hits 1 ;! Object #1 $Class: GTF Ulysses $Team: Friendly $Location: -77.835663, 0.000001, 278.180573 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Special Hitpoint index: 96 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: Hits 2 ;! Object #2 $Class: GTF Ulysses $Team: Friendly $Location: 1.278475, -0.000004, 269.052094 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Special Hitpoint index: 94 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: Hits 3 ;! Object #3 $Class: GTF Ulysses $Team: Friendly $Location: -25.687189, 0.000000, 175.219772 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Special Hitpoint index: 92 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: Hits 4 ;! Object #4 $Class: GTF Ulysses $Team: Friendly $Location: 71.271271, -0.000002, 200.455353 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Special Hitpoint index: 90 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: No Hits 1 ;! Object #5 $Class: GTF Ulysses $Team: Friendly $Location: 75.904884, 0.000006, 618.441467 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: No Hits 2 ;! Object #6 $Class: GTF Ulysses $Team: Friendly $Location: 30.982937, -0.000006, 499.999756 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: No Hits 3 ;! Object #7 $Class: GTF Ulysses $Team: Friendly $Location: 132.532913, -0.000003, 495.190460 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 $Name: No Hits 4 ;! Object #8 $Class: GTF Ulysses $Team: Friendly $Location: 171.557892, -0.000004, 664.445068 $Orientation: 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 $AI Behavior: None $Cargo 1: XSTR("Nothing", -1) +Initial Velocity: 33 +Initial Hull: 100 +Subsystem: Pilot $Arrival Location: Hyperspace $Arrival Cue: ( false ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Determination: 10 +Flags: ( "cargo-known" ) +Flags2: ( ) +Respawn priority: 0 +Group: 0 ;;FSO 3.6.10;; +Use Table Score: ;;FSO 3.6.10;; +Score: 8 ;;FSO 3.6.10;; #Wings ;! 3 total ;;FSO 3.6.10;; $Name: Alpha ;;FSO 3.6.10;; $Waves: 1 ;;FSO 3.6.10;; $Wave Threshold: 0 ;;FSO 3.6.10;; $Special Ship: 0 ;! Alpha 1 ;;FSO 3.6.10;; $Arrival Location: Hyperspace ;;FSO 3.6.10;; $Arrival Cue: ( true ) ;;FSO 3.6.10;; $Departure Location: Hyperspace ;;FSO 3.6.10;; $Departure Cue: ( false ) ;;FSO 3.6.10;; $Ships: ( ;! 1 total ;;FSO 3.6.10;; "Alpha 1" ;;FSO 3.6.10;; ) ;;FSO 3.6.10;; +Hotkey: 0 ;;FSO 3.6.10;; +Flags: ( ) $Name: Hits $Waves: 1 $Wave Threshold: 0 $Special Ship: 0 ;! Hits 1 $Arrival Location: Hyperspace $Arrival Cue: ( true ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Ships: ( ;! 4 total "Hits 1" "Hits 2" "Hits 3" "Hits 4" ) +Flags: ( ) $Name: No Hits $Waves: 1 $Wave Threshold: 0 $Special Ship: 0 ;! No Hits 1 $Arrival Location: Hyperspace $Arrival Cue: ( true ) $Departure Location: Hyperspace $Departure Cue: ( false ) $Ships: ( ;! 4 total "No Hits 1" "No Hits 2" "No Hits 3" "No Hits 4" ) +Flags: ( ) #Events ;! 3 total $Formula: ( when-argument ( any-of "Hits 1" "Hits 2" "Hits 3" "Hits 4" ) ( and ( > ( hits-left "" ) 99 ) ( key-pressed "1" ) ) ( add-goal "Hits" ( ai-warp-out 89 ) ) ) +Name: specialhits +Repeat Count: 1 +Interval: 1 +Objective: XSTR("when-argument test", -1) +Objective key: XSTR("Press 1", -1) +Team: 0 $Formula: ( when ( and ( or ( > ( hits-left "Hits 1" ) 99 ) ( > ( hits-left "Hits 2" ) 99 ) ( > ( hits-left "Hits 3" ) 99 ) ( > ( hits-left "Hits 4" ) 99 ) ) ( key-pressed "2" ) ) ( add-goal "Hits" ( ai-warp-out 89 ) ) ) +Name: hitstest2 +Repeat Count: 1 +Interval: 1 +Objective: XSTR("when test", -1) +Objective key: XSTR("Press 2", -1) +Team: 0 $Formula: ( when-argument ( any-of "No Hits 1" "No Hits 2" "No Hits 3" "No Hits 4" ) ( and ( > ( hits-left "" ) 99 ) ( key-pressed "3" ) ) ( add-goal "No Hits" ( ai-warp-out 89 ) ) ) +Name: nohitstest +Repeat Count: 1 +Interval: 1 +Objective: XSTR("No S-Hits test", -1) +Objective key: XSTR("Press 3", -1) +Team: 0 #Goals ;! 0 total #Waypoints ;! 0 lists total #Messages ;! 0 total #Reinforcements ;! 0 total #Background bitmaps ;! 0 total $Num stars: 500 $Ambient light level: 7895160 +Nebula: Nebula01 +Color: Blue +Pitch: 60 +Bank: 41 +Heading: 282 #Asteroid Fields #Music $Event Music: None $Briefing Music: None #End