multiplayer die and respawn
i am trying to make a multiplayer team deathmatch game but i have a problem. when player other then host died the the player still can use the playercontrol and player shoot that i disable . but it...
View ArticleHow to make the player die when health = 0?
How to make the player die when health = 0?
View ArticleAsset spit fire but is no longer working, but when i check the backups it...
I have an enemy that spits fire but it's not killing the player. ive checked my backups and it is working perfectly on them. I have compared the backups to the current version and everything is in the...
View ArticleMy GameObject refrence in my script keeps resetting if i die
If i die in my game i reload the scene to retry but my refrence in my script keeps resetting if i compete the level and i dont die then it works how do i fix this?
View ArticleReturning to main menu
After i die in my game, I return to main menu BUT the cursor doesn't appear. I have added a hide cursor script that hides the cursor during game play but it seems to be applied to the menu as well Hide...
View ArticleHow to make death messages show at random?
I have a deathScript and need to know how to create different messages show at random once dead. Right now they go to console which is fine for now. What I need is a bit of script that will cause...
View ArticleWhy will my enemy not die?
In my simple game, I have two enemies. One has a health value of 1, and the other a health value of 2. When a collision is detected a take damage function is called which takes 1 away from the health...
View ArticleWhen more than 1 enemy they cant die
So I'm trying to make an enemy but when there are 2 enemies when the first one dies the second one just go in minus in health and I just can't seem to fix it can anyone help me? using...
View ArticleScene not restarting after player death
In my game I would like to restart the scene once my player loses his health, so far he dies and the particle effects show but the scene doesn't restart. Could someone show me what I am doing wrong,...
View ArticleHow do I get my character to collide with an object, he dies, and respawnee...
I'm making a 2d game but I can't get my character to die, help
View ArticleWhen I start my fps game , get killed immediately without an enemy being around.
Hello! When I start my fps game ,I get killed immediately without an enemy being around. The enemy is in a direction and I am in another one . I have made 2 levels for the game , I copied level 1 to be...
View Articlehow to take health/hearth from player when colliding with an object?
I'm working on a 2d sidescrolling shooter, but I can't figure out how to take damage from the player when hitting something (a projectile or an enemy). I have a 4 heart health system and if the player...
View ArticleI am making a 3d puzzle game and I need help
I have a die script and a teleport and a leaderboard script I have not tested yet so I need to make sure they will work and my kill and teleport scripts are very simalar so here is my kill script...
View ArticlePlay animation only if its standing on the ground
I am creating a melee game, 1vs1 mode. When the player has <= 0 health, he gets disabled and a death animation gets played. But the problem is: If my player jumps, then gets a deadly hit, he dies...
View Article