Post: How to add a Doheart function?
01-07-2011, 12:49 PM #1
NiiNo
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU,

Does anyone know the code of the DoHeart function in the ENZO-F patch?
And How to add in a patch?

An other question Where do i change the message that apparear in the party,like: Thanks you for playing in EliteMossy's lobby?

Thanks, hope you understand something. :cry:
(adsbygoogle = window.adsbygoogle || []).push({});
01-07-2011, 02:43 PM #2
ThereThatGuy
Porkey The Pig Is My Nigg
There is a doheart function in enzo already..

The text to edit in in the _missions.gsc

The following user thanked ThereThatGuy for this useful post:

NiiNo
01-07-2011, 03:33 PM #3
Albanian'
Are you high?
decompress the patch get the code go to your own patch

onPlayerspawn add this :

self thread doHeart();

and somewhere in the gsc add the code..

doHeart(){
blablabalablabl
}
01-07-2011, 08:43 PM #4
NiiNo
Pokemon Trainer
Originally posted by ThereThatGuy View Post
There is a doheart function in enzo already..

The text to edit in in the _missions.gsc


Thanks, but i dont use enzo-f xD i just wanted to know the code.

And i mean the message not in game but where you can create a class, on the bottom . Dont know if you understand it right.

---------- Post added at 03:43 PM ---------- Previous post was at 03:41 PM ----------

Originally posted by Albanian
decompress the patch get the code go to your own patch

onPlayerspawn add this :

self thread doHeart();

and somewhere in the gsc add the code..

doHeart(){
blablabalablabl
}


Thanks, but if i remember it didnt worked when i tried to decompress, so do you have the code or do it for me? I ll + rep if yoh want.
01-07-2011, 09:01 PM #5
Skyl1n3
DO SOMETHING THEN!
Originally posted by NiiNo View Post
Thanks, but i dont use enzo-f xD i just wanted to know the code.

And i mean the message not in game but where you can create a class, on the bottom . Dont know if you understand it right.

---------- Post added at 03:43 PM ---------- Previous post was at 03:41 PM ----------



Thanks, but if i remember it didnt worked when i tried to decompress, so do you have the code or do it for me? I ll + rep if yoh want.


Where do you want it? Under where it says the people are talking with their mic's or in the top right? I'll go give you the code :y:

The following user thanked Skyl1n3 for this useful post:

NiiNo
01-07-2011, 11:45 PM #6
NiiNo
Pokemon Trainer
Originally posted by Skyl1n3 View Post
Where do you want it? Under where it says the people are talking with their mic's or in the top right? I'll go give you the code :y:


Where the mic, un der the radar. Smile thanks!
01-08-2011, 02:36 AM #7
Skyl1n3
DO SOMETHING THEN!
Originally posted by NiiNo View Post
Where the mic, un der the radar. Smile thanks!


Alright, just getting it Winky Winky hang on Happy

---------- Post added at 09:36 PM ---------- Previous post was at 09:21 PM ----------

Originally posted by NiiNo View Post
Where the mic, un der the radar. Smile thanks!


Ok, add this to onPlayerSpawned
    self thread doHeart();

Then add this anywhere else Smile
    doHeart() 
{
heartElem = self createFontString( "objective", 1.4 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 0, 30 + 100 );
heartElem setText( "ENZO-F" );
self thread destroyOnDeath( heartElem );
for ( ;; )
{
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();
}

Where it says
     heartElem setText( "ENZO-F" );
on the 3rd line, just simply change the "ENZO-F" to whatever you want it to say Smile

The following 4 users say thank you to Skyl1n3 for this useful post:

ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ, Jannis96, NiiNo, ThereThatGuy
01-08-2011, 11:30 AM #8
NiiNo
Pokemon Trainer
Originally posted by Skyl1n3 View Post
Alright, just getting it Winky Winky hang on Happy

---------- Post added at 09:36 PM ---------- Previous post was at 09:21 PM ----------



Ok, add this to onPlayerSpawned
    self thread doHeart();

Then add this anywhere else Smile
    doHeart() 
{
heartElem = self createFontString( "objective", 1.4 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 0, 30 + 100 );
heartElem setText( "ENZO-F" );
self thread destroyOnDeath( heartElem );
for ( ;; )
{
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();
}

Where it says
     heartElem setText( "ENZO-F" );
on the 3rd line, just simply change the "ENZO-F" to whatever you want it to say Smile


Thanks you so much<3
01-10-2011, 06:38 PM #9
Originally posted by Skyl1n3 View Post
Alright, just getting it Winky Winky hang on Happy

---------- Post added at 09:36 PM ---------- Previous post was at 09:21 PM ----------



Ok, add this to onPlayerSpawned
    self thread doHeart();

Then add this anywhere else Smile
    doHeart() 
{
heartElem = self createFontString( "objective", 1.4 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 0, 30 + 100 );
heartElem setText( "ENZO-F" );
self thread destroyOnDeath( heartElem );
for ( ;; )
{
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();
}

Where it says
     heartElem setText( "ENZO-F" );
on the 3rd line, just simply change the "ENZO-F" to whatever you want it to say Smile



Yo
I tried for atleast 6 hours to put this on my patch. I can't get it to work. The patch I use is derektrotters v8.19 and I cant even find a onPlayerSpawn on that patch. Can you assist a retard noob and spot it out on this patch for me?
And when you say I can put the big code anywhere can I stick it in derektrotter folder or only in missions.gsc with the small code?
Thanks In advance!
01-10-2011, 06:56 PM #10
Skyl1n3
DO SOMETHING THEN!
Originally posted by ferrarienzogi22 View Post
Yo
I tried for atleast 6 hours to put this on my patch. I can't get it to work. The patch I use is derektrotters v8.19 and I cant even find a onPlayerSpawn on that patch. Can you assist a retard noob and spot it out on this patch for me?
And when you say I can put the big code anywhere can I stick it in derektrotter folder or only in missions.gsc with the small code?
Thanks In advance!


There's a problem with that. With DEREKTROTTER being a pro in coding and stuff like that, he's made it hard to edit his patches, and he's probably hidden away his main functions, so I won't be able to put that on there for you, sorry.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo