The Dink Network

Reply to Re: Sprite Problem

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:
 
 
April 25th 2004, 08:12 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
If you just create the sprite with this script and then, right after the creation put this line:

sp_script(&slayer, "slayer");

Now you can copy the whole dialogue thing, as well as the hit and the die proc to a script called slayer.c and things will work.

Reason for this is that the hit( void ) and the die( void ) aren't attached to the slayer, but to the screen. Screens can't die and cannot get hurt, so these procedures will never activate.