Stan Posted January 3, 2007 Report Share Posted January 3, 2007 Yes, same for eemrgency 3 Quote Link to comment Share on other sites More sharing options...
Hoppah Posted January 3, 2007 Report Share Posted January 3, 2007 So, you have transported all injured people to the hospital (= objective finished?) and the mission won't end?Are you sure there are no victims left? Quote Link to comment Share on other sites More sharing options...
Guest Winger Posted January 3, 2007 Report Share Posted January 3, 2007 I'll check again if there are really no victims left, but the thing is that the red light in front of the objective "Bring all injured people to the hospital!" turns green as soon as I've taken the first (and as far as I know) only victim out of the scene.Edit: I've checked the map in the editor, I hid everything except for the 'persons' and I found only one victim.2nd Edit (4th januari): As I can't find the mistake/failure in the first map/mission I'm gonna try and make a new map, this time I'm gonna try a harder one as I think I understand most things now, except how to get a proper ending. As soon as I've finished it I'll let you know if this one works. Quote Link to comment Share on other sites More sharing options...
Guest Winger Posted January 6, 2007 Report Share Posted January 6, 2007 I've made a second mission now and it's pretty cool imo. I've tested it and it seems to work fine, I just have to test if the fail conditions work too. Things are looking better now and I've just started to build my third mission. Quote Link to comment Share on other sites More sharing options...
Guest jumbojet380 Posted January 7, 2007 Report Share Posted January 7, 2007 I've made a second mission now and it's pretty cool imo. I've tested it and it seems to work fine, I just have to test if the fail conditions work too. Things are looking better now and I've just started to build my third mission.can u upload the mission in the download database so we can download them and play them please ??? Quote Link to comment Share on other sites More sharing options...
Guest Winger Posted January 7, 2007 Report Share Posted January 7, 2007 I still have to test the mission and see if the fail conditions work. After that I'll first make some more missions and maybe I'll upload a missionpack in the near future then, if I have enough time to make more missions. Otherwise I'll upload it as a single mission. Just be patient and see what happens. Quote Link to comment Share on other sites More sharing options...
Guest Winger Posted January 10, 2007 Report Share Posted January 10, 2007 I've tested my mission multiple times now, on the fail conditions, but it just won't fail the mission. I've tried multiple different scripts, but none of them seems to work. This is the fail objective I want to add:Fail objective: 4 dead civilians = mission failed.I hope someone can help me out on this. Thanks a lot in advance!! Quote Link to comment Share on other sites More sharing options...
Hoppah Posted January 11, 2007 Report Share Posted January 11, 2007 I've tested my mission multiple times now, on the fail conditions, but it just won't fail the mission. I've tried multiple different scripts, but none of them seems to work. This is the fail objective I want to add:Fail objective: 4 dead civilians = mission failed.I hope someone can help me out on this. Thanks a lot in advance!!Add this under "MissionState GetMissionState()":if(Mission::GetCounter("Injured Persons") > 3) { return MISSION_FAILED; }And in case you want to display a message when the mission failes, add this too:const char *GetFailReason() { if(Mission::GetCounter("Injured Persons") > 3) { return "Too much injured people! Mission failed!"; } } Quote Link to comment Share on other sites More sharing options...
Guest Winger Posted January 11, 2007 Report Share Posted January 11, 2007 Add this under "MissionState GetMissionState()":if(Mission::GetCounter("Injured Persons") > 3) { return MISSION_FAILED; }And in case you want to display a message when the mission failes, add this too:const char *GetFailReason() { if(Mission::GetCounter("Injured Persons") > 3) { return "Too much injured people! Mission failed!"; } }Okay I get it (It's much easier than I thought it would be, I must be stupid... ). Thanks a lot again Hoppah, you're a great help, I appreciate it! Quote Link to comment Share on other sites More sharing options...
Guest Robbyboy Posted July 12, 2007 Report Share Posted July 12, 2007 maybe a great topic kick, but are these missions ever finished? Quote Link to comment Share on other sites More sharing options...