| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2002
Location: zurich, switzerland
Posts: 65
|
Hi everybody !
I'm still on my game, and I still got the following problem: You have to fly with a helicopter. The mission is to save a guy and drop him over the hospital. The player should not be able to land before having saved the guy. In this case a message appears: "Save the person first" This works in the first level, but in all the others nothing happens... !!! I attached a demo.fla, this is just to show what's about... Please have a look at it. It would be great if anyone finds the error !!! Thanks a lot in advance and all the best cuba |
|
|
|
|
|
#2 |
|
power to the pinK
|
well, I might be off base here, but it seems to me that you create the variable "allowedtoland" and set it to "false" in your startGame function.
During the first level "allowedtoland" becomes "true" once the guy is picked up...but then, when the next level starts you don't seem to reset "allowedtoland" back to "false". Hence it is still "true" and there rests your problem. You just need to add a bit of code to reset the variable back to "false" when you embark on a new level, I think. :0) |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Card Match Game, Colour Me In Pictures and Board Game | Total Frigging | ActionScript 2.0 | 4 | 02-21-2005 01:04 AM |
| Helicopter Game questions. | beau | ActionScript 2.0 | 13 | 12-13-2004 08:33 PM |
| word search game with AS2 | black | General Chat | 5 | 08-12-2004 10:44 AM |
| [AS2] Tile game or not tile game? | krolben | Gaming and Game Development | 4 | 07-28-2004 01:41 PM |