(05 Mar 11, 02:29AM)ChaoticToSayTheLeast Wrote: Killzones. Land in an area and die. Make spike/lava/tar pits that WORK. Fall into a hole and die. Stuff like that.
Requires 1105.
[SELECT ALL] Code:
x 4
y 4
z 4
die 0
deathpit [
if (= (getposition 0) $x) [die (+ $die 1)] [];
if (= (getposition 1) $y) [die (+ $die 1)] [];
if (= (getposition 2) $z) [die (+ $die 1)] [];
if (= $die 3) [die 0; suicide] []
]
Loop it for practicality, bind it for testing.
Also, if you create a die alias for each axis, you can define areas/volumes that kill the player.