- 2.8pre-495-g67c6690 (broken)
- 2.8pre-420-g3f8c723 (works)
Code: Select all
Script "ChangeRStyle" (void)
{
int rstyle = GetActorProperty(0, APROP_RenderStyle);
If(rstyle == STYLE_Translucent) SetActorProperty(0, APROP_RenderStyle, STYLE_Stencil);
Else SetActorProperty(0, APROP_RenderStyle, STYLE_Translucent);
}
My only guess is that something probably went wrong here.