Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
troidord

Runaway script 3 terminated

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×