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

Multiple Enemy Goals

Recommended Posts

Dear Sir,

The Effect You Wish To Attempt Requires A Scripting Language, Which Vanilla Doom Lacks Entirely. First You Figure Out What Source Port You Want To Use, And Then You RTFM And Find Out How To Utilize The Scripting Language To Achieve The Desired Effect.

I Am Pretty Sure Eternity Engine Can Achieve This Effect, You'd Have To Look Though.

Share this post


Link to post

Remember that video that I recommended earlier? And I recommended you watch his other tutorials? Turns out the same guy who posted that video made another video that answers your question.


Also, from a (very) short google search I found this on the zdoom forums:

Step 1: Give all the enemies in question a matching TID.
Step 2: Create a script that reads like this:
    #include "zcommon.acs"

    script 1 OPEN {
         while (ThingCount(T_NONE, 5) > 0)
              delay(35);

         Door_Close(7, 16, 0);
         Floor_LowerToLowest(10, 8);
    }

Step 3: Compile your script (DoomBuilder does this automatically)

What it does: After all the enemies with a TID of 5 are killed, the sector with a tag of 7 closes like a door, while the sector with a tag of 10 lowers its floor to the level of its nearest neighbor. Change the TID and tags to suit your taste.

Share this post


Link to post
Krispy said:

Remember that video that I recommended earlier? And I recommended you watch his other tutorials? Turns out the same guy who posted that video made another video that answers your question.
https://www.youtube.com/watch?v=jVkYkC60xr4
Also, from a (very) short google search I found this on the zdoom forums:

Step 1: Give all the enemies in question a matching TID.
Step 2: Create a script that reads like this:

    #include "zcommon.acs"

    script 1 OPEN {
         while (ThingCount(T_NONE, 5) > 0)
              delay(35);

         Door_Close(7, 16, 0);
         Floor_LowerToLowest(10, 8);
    }

Step 3: Compile your script (DoomBuilder does this automatically)

What it does: After all the enemies with a TID of 5 are killed, the sector with a tag of 7 closes like a door, while the sector with a tag of 10 lowers its floor to the level of its nearest neighbor. Change the TID and tags to suit your taste.


That Script Is A Bit Out Of Place.

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
×