Reply to Re: Burnin trees
If you don't have an account, just leave the password field blank.
June 10th 2003, 10:52 AM

illusivefing


Once again...i think that was a bug, but wasn't the problem...i looked at it more closely and wondered what would happen if i took out the code that checks to see if a script is attached...i commented all that mess out and it works just fine now, but thanks
//they hit a tree, lets burn the thing
int &hold = sp_editor_num(&missile_target);
// &junk = is_script_attached(&missile_target);
// if (&junk > 0)
// {
// //Script is attached to this tree! Let's run it's die script
// run_script_by_number(&junk, "DIE");
// return;
// }
sp_hard(&missile_target, 1)
draw_hard_sprite(&missile_target);
//they hit a tree, lets burn the thing
int &hold = sp_editor_num(&missile_target);
// &junk = is_script_attached(&missile_target);
// if (&junk > 0)
// {
// //Script is attached to this tree! Let's run it's die script
// run_script_by_number(&junk, "DIE");
// return;
// }
sp_hard(&missile_target, 1)
draw_hard_sprite(&missile_target);