Jump to content
  • 0

Runaway script 3 terminated


troidord

Question

Posted (edited)

FIXED!

Quote

HAD TO REMOVE THE SEMICOLON FROM   While (ThingCount(0, 3) > 0);

 

im having a lil problems making an acs script where if a group of enemies are killed some door opens. could some of yall be kind to help me in findin out whats wrong?

(NOTE: IM MAPPING ON UDMF GZDOOM FORMAT)

 

script 3 OPEN {
        Delay(28);
    While (ThingCount(0, 3) > 0);
        Delay(28);

    Door_Open(2, 64, 0);
}

Edited by troidord
FIXED!

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 2

Remove the semicolon at the end of your "while" line - you are creating a loop without a delay that will make it execute forever if not for the "runaway script" detection.

Share this post


Link to post
  • 0
1 minute ago, MTrop said:

Remove the semicolon at the end of your "while" line - you are creating a loop without a delay that will make it execute forever if not for the "runaway script" detection.

THANKSBUDDY NOW IT WORKS!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...