SamSuka
CodeLikeMe
CodeLikeMe

patreon


Unreal Engine Battle Simulation - Toggle Friendly Fire (ALS #33)

This is episode 33 of third-person shooter series based on Unreal Advanced Locomotion System. Here, we are going to work on a way to enable and disable friendly fire in the shooting system. When the friendly fire is enabled, when a character shoots towards an enemy, if another ally comes in between, the ally will get shot. Even if the other character is not intentionally shooting at the ally. When the friendly fire is disabled, allies won't take any damage from the bullets shot by members of the same team. The variable we implement for this can be connected a the gameplay option when we have an options menu so that player can choose to enable or disable friendly fire.

CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4

.

project files

https://www.patreon.com/posts/63654325

Unreal Engine Battle Simulation - Toggle Friendly Fire  (ALS #33)

More Creators