The Dink Network

Reply to Re: Big heart

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 25th 2010, 06:49 AM
knightgl.gif
castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 
To make it by the beautyfull way you must change it at "emake" script

Add there (on emake.c):

void heart ( void )
{
//lets give 'em a large heart
int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
sp_script(&crap, "heart");
return;
}

At the monster "void die" change the 'external' command to:

external("emake", "heart");

This will call the script "emake" and run the "heart" void procedure which is create a big heart