Question about touch water

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
alividerci
Posts: 363
Joined: 11 Feb 2012, 07:03

Question about touch water

Post by alividerci »

I confused why short water not detected IsInWater?(Short water mean where player can not swim)
User avatar
alividerci
Posts: 363
Joined: 11 Feb 2012, 07:03

Re: Question about touch water

Post by alividerci »

Hey, nobody dont know?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Question about touch water

Post by Eole »

IsInWater is set at True only when the player swim, as long as the player don't swim it's False.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
alividerci
Posts: 363
Joined: 11 Feb 2012, 07:03

Re: Question about touch water

Post by alividerci »

Eole wrote:IsInWater is set at True only when the player swim, as long as the player don't swim it's False.
ok, what me do? I want doing damage when player fall on ground but i dont want get damage when player fall in short water
damage count through difference values(last value in air and first value on ground) i set 1000 if difference more than that value plyer get value, but short water broken this logic system i think you must dedicate new mode for this place
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest