Post #1 · Posted at 2017-03-03 04:23:47pm 7.1 years ago
MadkaT | |
---|---|
Member | |
820 Posts | |
Not Set | |
Reg. 2009-11-24 | |
It's me again I am creating some custom items wit masking, but when I overlap them, they are masking all together, like this:
I want to preserve every item mask, and not be affected with other items masking. Heres is the code that I use for the mask object:
--CD Mask
Def.ActorFrame{
Name="CdMask";
InitCommand=cmd();
LoadActor(THEME:GetPathG("", "MusicWheelItem Song NormalPart/cd/cd_mask"))..{
OnCommand=cmd(blend,'BlendMode_NoEffect';zwrite,true;clearzbuffer,false;);
};
};
What I'm doing wrong?
I want to preserve every item mask, and not be affected with other items masking. Heres is the code that I use for the mask object:
--CD Mask
Def.ActorFrame{
Name="CdMask";
InitCommand=cmd();
LoadActor(THEME:GetPathG("", "MusicWheelItem Song NormalPart/cd/cd_mask"))..{
OnCommand=cmd(blend,'BlendMode_NoEffect';zwrite,true;clearzbuffer,false;);
};
};
What I'm doing wrong?