Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WHAT IS WRONG?!!!!!!!!!!!!!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#5
RE: WHAT IS WRONG?!!!!!!!!!!!!!

If I read it correctly, this is what happens:

When you enter this level, it immediately calls Again(0.0f);

This function checks the health of the player, and if the player has more than 0, it cancels out the rest of the script. This could be the problem.

If the player is dead when he enters this level (I don't see how that's possible), the rest is ran. There's a lot of dead code right here, because since you input 0.0f in the Again parameter, the timer for changing the level is also 0.0f (instantly). The sound and screen shake never get time to do anything. If the script gets this far, the player is also dealt 110 damage (if the player is dead, why must you torture him so? ;_;). A variable is ticked and the map is changed right away.

It's a very strange series of events you have here. I'm not sure what you intended with it.

(This post was last modified: 06-06-2014, 01:12 PM by Mudbill.)
06-06-2014, 01:11 PM
Find


Messages In This Thread
WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-06-2014, 02:31 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Daemian - 06-06-2014, 03:59 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Romulator - 06-06-2014, 07:15 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-06-2014, 01:11 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 02:07 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 03:30 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-07-2014, 12:36 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 03:41 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-07-2014, 05:58 PM



Users browsing this thread: 1 Guest(s)