how can i creat PVP Zone ? hlep plz
Not sure if it would work but try:
>Creating a trigger volume as your pvp zone
>Making a function in the player pawn’s blueprint which takes input as any damage and uses the “caused by” (iirc) output of the node to deem whether it’s pvp or pve damage
>Create a branch which refunds any damage dealt if it’s pvp and the player pawn isn’t overlapping the trigger volume
Haven’t tried anything similar personally but give that a shot and let me know how it goes for you! You’ll wanna test it on a server though, may run into a few replication/accessed none issues when referencing other players/the trigger volume… Good luck!