Page 1 of 1

Help! Deleting a field

Posted: Sat Dec 11, 2021 10:15 pm
by wetThumbs33
Hello all, I''ve been just a lurker here and have a question I'm hoping I might get help with. Is there any reason why a field can't be deleted by script all of a sudden? I have a few fields being moved to point A to point B with the "move" command and at the end of the moves they are each removed with the "delete" command, but just one of these fields will not delete.

I get an error: card "Dash": execution error at line n/a (Object: stack locked, or object's script is executing) near "field "temp11" of card "Dash" of stack "/Users...

I can delete it manually or by stopping the script and sending the command through the message window. It's driving me nuts, about to give up after coming so far.

Re: Help! Deleting a field

Posted: Sat Dec 11, 2021 10:45 pm
by dunbarx
Hi.

Odd. Can you post your script?

Craig

Re: Help! Deleting a field

Posted: Sun Dec 12, 2021 6:21 pm
by jacque
Where is the script located? If it's in the field, it can't delete itself.

Re: Help! Deleting a field

Posted: Sun Dec 12, 2021 7:17 pm
by richmond62
If it's in the field, it can't delete itself.
That seems unlikely as the chap states it is only one of the fields that won't go "poof".

Re: Help! Deleting a field

Posted: Sun Dec 12, 2021 11:42 pm
by jacque
True. Maybe its cantDelete is set to true.