Blockland Forums > Modification Help
Scripting a boss playertype
<< < (3/4) > >>
pecon98:

--- Quote from: Greek2me on March 15, 2012, 10:49:54 PM ---Just do Skycaptain::ondisabled(%datablock,%player,%enabled)

--- End quote ---

--- Code: ---package skycaptainondisabled
{
function Skycaptain::ondisabled(%dtb, %obj, %enabled)
{
cancel($SCSchedulevar);
parent::ondisabled(%dtb, %obj, %enabled);
}
};
activatepackage(skycaptainondisabled);
--- End code ---
This works right?

I'm not updating the op with all my changes, so most of the silly errors are fixed.
Ladios:
Were there sounds on the other bosses that I haven't downloaded or something? :O
pecon98:

--- Quote from: Ladios on March 16, 2012, 01:12:21 AM ---Were there sounds on the other bosses that I haven't downloaded or something? :O

--- End quote ---
No, this will be a first.

Updated the OP, I need help. The schedule seems to replicate itself multiple times and spirals out of control and causes massive earrape D=
pecon98:
Updated op, I need help with this.
Lugnut:
silly pecon tripled his schedule definition
Navigation
Message Index
Next page
Previous page

Go to full version