Question about touch water

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

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

Question about touch water

Post by alividerci » 07 Sep 2014, 14:52

I confused why short water not detected IsInWater?(Short water mean where player can not swim)

User avatar
alividerci
Posts: 561
Joined: 11 Feb 2012, 07:03

Re: Question about touch water

Post by alividerci » 08 Sep 2014, 11:53

Hey, nobody dont know?

User avatar
Eole
Nadeo
Nadeo
Posts: 1262
Joined: 26 Apr 2011, 21:08

Re: Question about touch water

Post by Eole » 08 Sep 2014, 13:42

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: 561
Joined: 11 Feb 2012, 07:03

Re: Question about touch water

Post by alividerci » 08 Sep 2014, 14:26

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