SHOW:
|
|
- or go back to the newest paste.
| 1 | InitCommand=function(self) | |
| 2 | self:diffusealpha(0) | |
| 3 | :diffuseshift() | |
| 4 | - | :effectcolor1(0,0,0,0) |
| 4 | + | :effectcolor1(1,1,1,0) |
| 5 | :effectcolor2(1,1,1,1) | |
| 6 | :effectperiod(2) | |
| 7 | end, | |
| 8 | OnCommand=function(self) | |
| 9 | self:Center() | |
| 10 | :FullScreen() | |
| 11 | :blend("BlendMode_Add")
| |
| 12 | end, | |
| 13 | GlowCommand=function(self) | |
| 14 | self:stoptweening() | |
| 15 | :diffusealpha(1) | |
| 16 | end, | |
| 17 | HideCommand=function(self) | |
| 18 | if self:GetTweenTimeLeft() == 0 then | |
| 19 | self:linear(1) | |
| 20 | :diffusealpha(0) | |
| 21 | end | |
| 22 | end, |