The Dink Network

Reply to Re: help wanted: script bug

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 13th 2009, 04:16 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Sp_gold() is to calculate whether or not the duck is headless or not (may ultimately just check for sp_pseq.) This is so headless ducks don't swarm around the feed pile like they are eating

The script checks to make sure the duck doesn't already have a target, so no problems getting confused between different piles. I did however just realize that I never reset this after the pile is gone. That problem is fixed though

The script specifically uses &current_sprite (attached to the feed pile) so I don't see how checking for the box would yield any better results.