changeset 11954 | 62be63822a96 |
parent 11038 | 5a9dde74127e |
child 11955 | d72a177dbaea |
11953:c8457c7f10f4 | 11954:62be63822a96 |
---|---|
81 crate = SpawnHealthCrate(0, 0) |
81 crate = SpawnHealthCrate(0, 0) |
82 SetGearMessage(CurrentHedgehog, 0) |
82 SetGearMessage(CurrentHedgehog, 0) |
83 AddNewEvent(CheckCrateTaken, {}, DoCrateTaken, {}, 1) |
83 AddNewEvent(CheckCrateTaken, {}, DoCrateTaken, {}, 1) |
84 TurnTimeLeft = 0 |
84 TurnTimeLeft = 0 |
85 ShowMission("Epilogue", "That's all folks!", "You have successfully finished the campaign!|If you wish to replay, there are other possible endings, too!|You can practice moving around and using utilities in this mission.|However, it will never end!", 1, 0) |
85 ShowMission("Epilogue", "That's all folks!", "You have successfully finished the campaign!|If you wish to replay, there are other possible endings, too!|You can practice moving around and using utilities in this mission.|However, it will never end!", 1, 0) |
86 SaveCampaignVar("Won", "true") |
|
86 end |
87 end |
87 |
88 |
88 ---------------------------Events------------------------------------- |
89 ---------------------------Events------------------------------------- |
89 function CheckCrateTaken() |
90 function CheckCrateTaken() |
90 return gearDead[crate] |
91 return gearDead[crate] |