@@ -1,31 +1,15 @@
|
||||
local t = Def.ActorFrame{
|
||||
InitCommand=function(self)
|
||||
self:fov(70);
|
||||
end;
|
||||
LoadActor("_arrow")..{
|
||||
InitCommand=function(self)
|
||||
self:x(225);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:wag();
|
||||
self:effectmagnitude(0, 0, 16);
|
||||
self:effectperiod(2.5);
|
||||
end;
|
||||
};
|
||||
LoadActor("_text");
|
||||
LoadActor("_text")..{
|
||||
Name="TextGlow";
|
||||
InitCommand=function(self)
|
||||
self:blend(Blend.Add);
|
||||
self:diffusealpha(0.05);
|
||||
end;
|
||||
OnCommand=function(self)
|
||||
self:glowshift();
|
||||
self:effectperiod(2.5);
|
||||
self:effectcolor1(color("1,1,1,0.25"));
|
||||
self:effectcolor2(color("1,1,1,1"));
|
||||
end;
|
||||
};
|
||||
};
|
||||
|
||||
return t;
|
||||
local t = Def.ActorFrame{
|
||||
InitCommand=cmd(fov,70);
|
||||
LoadActor("_arrow")..{
|
||||
InitCommand=cmd(x,225;);
|
||||
OnCommand=cmd(wag;effectmagnitude,0,0,16;effectperiod,2.5;);
|
||||
};
|
||||
LoadActor("_text");
|
||||
LoadActor("_text")..{
|
||||
Name="TextGlow";
|
||||
InitCommand=cmd(blend,Blend.Add;diffusealpha,0.05;);
|
||||
OnCommand=cmd(glowshift;effectperiod,2.5;effectcolor1,color("1,1,1,0.25");effectcolor2,color("1,1,1,1"););
|
||||
};
|
||||
};
|
||||
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user