home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Inf / Gamelogic / GameEvents / Common.Squad.OnDeathFailure.inf next >
INI File  |  2002-10-14  |  3KB  |  196 lines

  1.  
  2. [Common.Squad.OnDeathFailure : cESEvent]
  3. {
  4.     Name = Common.Squad.OnDeathFailure
  5.     Enabled = 1
  6.     Type = 1
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = "meghalt a hos"
  15.  
  16.             [Condition : cSIsDead]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [Squad : cSGetByThisSquad]
  21.                 {
  22.  
  23.                 }
  24.             }
  25.             [Then *]
  26.             {
  27.  
  28.                 [: cESCRunOnce]
  29.                 {
  30.                     Delay = -1
  31.                     RunID = ""
  32.  
  33.                     [Procedures *]
  34.                     {
  35.  
  36.                         [: cSUserInterfaceSwitchOff]
  37.                         {
  38.                             WideScreenMode = 1
  39.  
  40.                         }
  41.                         [: cMEnablePlayerControl]
  42.                         {
  43.                             Enabled = 0
  44.  
  45.                         }
  46.                         [: cSSetCameraState]
  47.                         {
  48.                             RelativeRotation = 1
  49.                             Restore = 0
  50.                             Link = 0
  51.                             AddToQueue = 1
  52.                             Note = ""
  53.  
  54.                             [Target : cSGetByThisSquad]
  55.                             {
  56.  
  57.                             }
  58.                             [Rotation : cESFFloatConst]
  59.                             {
  60.                                 Value = 0
  61.  
  62.                             }
  63.                             [Distance : cESFFloatConst]
  64.                             {
  65.                                 Value = 25
  66.  
  67.                             }
  68.                             [Pitch : cESFFloatConst]
  69.                             {
  70.                                 Value = 75
  71.  
  72.                             }
  73.                             [Time : cESFIntConst]
  74.                             {
  75.                                 Value = 0
  76.  
  77.                             }
  78.                             [RotationTime : NULL]
  79.                             {
  80.  
  81.                             }
  82.                             [DistanceTime : NULL]
  83.                             {
  84.  
  85.                             }
  86.                             [PitchTime : NULL]
  87.                             {
  88.  
  89.                             }
  90.                             [CircleSpeed : NULL]
  91.                             {
  92.  
  93.                             }
  94.                         }
  95.                         [: cSSetCameraState]
  96.                         {
  97.                             RelativeRotation = 1
  98.                             Restore = 0
  99.                             Link = 0
  100.                             AddToQueue = 1
  101.                             Note = ""
  102.  
  103.                             [Target : cSGetByThisSquad]
  104.                             {
  105.  
  106.                             }
  107.                             [Rotation : cESFFloatConst]
  108.                             {
  109.                                 Value = 90
  110.  
  111.                             }
  112.                             [Distance : cESFFloatConst]
  113.                             {
  114.                                 Value = 15
  115.  
  116.                             }
  117.                             [Pitch : cESFFloatConst]
  118.                             {
  119.                                 Value = 60
  120.  
  121.                             }
  122.                             [Time : cESFIntConst]
  123.                             {
  124.                                 Value = 80
  125.  
  126.                             }
  127.                             [RotationTime : NULL]
  128.                             {
  129.  
  130.                             }
  131.                             [DistanceTime : NULL]
  132.                             {
  133.  
  134.                             }
  135.                             [PitchTime : NULL]
  136.                             {
  137.  
  138.                             }
  139.                             [CircleSpeed : NULL]
  140.                             {
  141.  
  142.                             }
  143.                         }
  144.                         [: cTStartTimer]
  145.                         {
  146.                             TimerName = common_gameover_delay
  147.  
  148.                         }
  149.                     }
  150.                 }
  151.             }
  152.             [Else *]
  153.             {
  154.  
  155.             }
  156.         }
  157.         [: cESIf]
  158.         {
  159.             Note = "GAME OVER"
  160.  
  161.             [Condition : cESCNumEquals]
  162.             {
  163.                 Note = ""
  164.  
  165.                 [Value1 : cTGetTimerValue]
  166.                 {
  167.                     TimerName = common_gameover_delay
  168.  
  169.                 }
  170.                 [Value2 : cESFIntConst]
  171.                 {
  172.                     Value = 50
  173.  
  174.                 }
  175.             }
  176.             [Then *]
  177.             {
  178.  
  179.                 [: cSUserInterfaceSwitchOn]
  180.                 {
  181.  
  182.                 }
  183.                 [: cSSetGlobalState]
  184.                 {
  185.                     State = FAILED
  186.  
  187.                 }
  188.             }
  189.             [Else *]
  190.             {
  191.  
  192.             }
  193.         }
  194.     }
  195. }
  196.