Logo

[HELP] Other Question about a LUA Code (SOLVED)

Register Log In Back To Forums

Post #1 · Posted at 2013-12-29 10:53:32am 10.3 years ago

Offline Th3_Ov3rHell_3XoduZ
Th3_Ov3rHell_3XoduZ Avatar Member
313 Posts
Chile
Reg. 2012-09-13

"ITG, The Best Dance Machine!"

Last updated: 2013-12-29 02:01pm
(Instead make other post, I prefer use this);
_______________________________________________

is there a way that, I want make appear an image (on SCREENEVALUATION) but only with the condition that I have passed the stage.

- I have already searched on google for documents, etc!, trying codes but nothing.
_______________________________________________

Anyone know how to do that?
_______________________________________________

also, these are the codes that I have already tested, but doesnt work, maybe someone know what is the error:

(1)

t[#t+1] = Def.ActorFrame{
if GAMESTATE:IsWinner() then
InitCommand=cmd(draworder,600;y,SCREEN_CENTER_Y+0.1;);
LoadActor( "results" )..{
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-230;);
OnCommand=cmd(diffusealpha,1;decelerate,0.2;addx,20;zoom,0.5;diffusealpha,1;addx,-20;sleep,2;;decelerate,1;diffusealpha,0;);
};
};

and this one:

(2)

t[#t+1] = Def.ActorFrame{
InitCommand=cmd(draworder,600;y,SCREEN_CENTER_Y+0.1;);
LoadActor( "results" )..{
Condition=GAMESTATE:IsWinner( PlayerNumber pn );
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-230;);
OnCommand=cmd(diffusealpha,1;decelerate,0.2;addx,20;zoom,0.5;diffusealpha,1;addx,-20;sleep,2;;decelerate,1;diffusealpha,0;);
};
};

________________________________________________________

ALREADY SOLVED!!!
Quote: Released Themes for SM5 Beta 3
Quote: Released Themes for SM5 Beta 4 & 5.0.7
Quote: Simfles Packs Released

Post #2 · Posted at 2013-12-29 11:05:04am 10.3 years ago

Offline razorblade
razorblade Avatar Member
1,099 Posts
Not Set
Reg. 2011-03-01

You can find it under [ScreenSystemLayer].

CreditsP1 or CreditsP2

Post #3 · Posted at 2013-12-29 11:11:28am 10.3 years ago

Offline Th3_Ov3rHell_3XoduZ
Th3_Ov3rHell_3XoduZ Avatar Member
313 Posts
Chile
Reg. 2012-09-13

"ITG, The Best Dance Machine!"
Quote: razorblade
You can find it under [ScreenSystemLayer].

CreditsP1 or CreditsP2


YAY, that's it! Thanks you A LOT!
Quote: Released Themes for SM5 Beta 3
Quote: Released Themes for SM5 Beta 4 & 5.0.7
Quote: Simfles Packs Released
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-04-19 12:34:58
This page took 0.004 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language