Drunken Wrestlers 2

Drunken Wrestlers 2

DW2 Workshop
Rate and share maps and game modes created in the game.
Learn More
i need help for a map
i want the water to kill you if you touch it. Is this possible?
< >
Showing 1-3 of 3 comments
Oleg Skutte  [developer] 27 1 Feb, 2020 @ 8:03am 
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
birbaphant 1 1 Feb, 2020 @ 8:29am 
Originally posted by SkutteOleg:
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
hmm didnt seem to work thanks anyways
OliviaMeowlody 6 29 Jun, 2020 @ 7:22am 
Originally posted by birbaphant:
Originally posted by SkutteOleg:
Add this script to an object with Collider component.

Add Component -> CustomScript, then paste this code
using UnityEngine; using DrunkenWrestlers2.Gameplay; public class InstaKill : MonoBehaviour, IPlayerCollisionHandler { public void OnPlayerCollision(PlayerCollisionData collision) { collision.Player.Kill(); } }
hmm didnt seem to work thanks anyways

The object needs to have MeshCollider for it too work
< >
Showing 1-3 of 3 comments
Per page: 1530 50