Post: Mw2 doHearts
04-06-2012, 12:56 AM #1
Default Avatar
DeHyped
Guest
(adsbygoogle = window.adsbygoogle || []).push({}); Can some one please teach me how to do doHearts if you can private message me i really need to know!
(adsbygoogle = window.adsbygoogle || []).push({});
04-06-2012, 02:37 AM #2
Clouds
Error 404: Title Not Found
    doHeart() 
{
heartElem = self createFontString( "objective", 1.4 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 0, 30 + 100 );
heartElem setText( "NGU_Clouds" );
for(;Winky Winky
{
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.0;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 1, 0, 0 );
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.3;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 0, 1, 0 );
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.0;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 0, 0, 1 );
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.3;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 1, 0, 1 );
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.0;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 1, 5, 5 );
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 2.3;
heartElem FadeOverTime( 0.3 );
heartElem.color = ( 1, 1, 0 );
wait 0.3;
}
}

destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}


Taken from ENZO-F's v1. Study how it works, then you'll have no problem creating one. It's the same thing through, basically, but with constant fontScale and color changes.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo