ID:2476989
 
So it's been a while since I looked in to this option. There's been a lot of features for manipulating icons added to the game recently with transformations and filters, has anyone find an efficient way to apply a mask to a player's icon?

For example... if a player is walking in waist deep water, a way to mask out the bottom half of their icon so only the area of the icon above the waist is showing without using the blend() proc?

Or walking through tall grass, having the grass visible in front of the player.
For icons with a fixed shape, masking can be done in 512 using vis_contents and a muliplicative blend against a full-bright background. This is not alpha masking, however:

http://www.byond.com/forum/post/2466493

513 includes built-in alpha masking out of the box though, so if what you are doing isn't quite possible, it will be soon.