Finally at the point of experimenting with ACS scripting for the first time. Here is the situation I'm working with.
I'm trying to use ACS_LockedExecute to lower the floor with a red skull lock and am using the following script:
Quote
script 1 OPEN
{
if (CheckInventory("RedCard") || CheckInventory("RedSkull"))
{
Print(s:"You use the red skull.");
// Lower floor
Floor_LowerToNearest(2,34);
}
else
Print(s:"You need the red skull.");
}
When I test this, trying to activate without the skull will give me the message that says "You need the red skull to activate this object." When I try to activate with the skull, I get a message in the "P_startscript: unknown script 1"
The values I put for the special argument are:
Script#: 1
Max Levelnum: 0
First Arg: 0
Second Arg: 0
Lock #: 0
I believe I am compiling this correctly, and the ACS Source doc is set in the wad under Behavior.
With all of this said, is there anything obvious that I am completely overlooking here?
Question
aloysiusfreeman
Hey everyone
Finally at the point of experimenting with ACS scripting for the first time. Here is the situation I'm working with.
I'm trying to use ACS_LockedExecute to lower the floor with a red skull lock and am using the following script:
When I test this, trying to activate without the skull will give me the message that says "You need the red skull to activate this object." When I try to activate with the skull, I get a message in the "P_startscript: unknown script 1"
The values I put for the special argument are:
Script#: 1
Max Levelnum: 0
First Arg: 0
Second Arg: 0
Lock #: 0
I believe I am compiling this correctly, and the ACS Source doc is set in the wad under Behavior.
With all of this said, is there anything obvious that I am completely overlooking here?
Share this post
Link to post
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.