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

Message triggers.

Recommended Posts

I seem to be having trouble figuring out how to cause a message to appear onscreen when the player passes over a line or enters a sector, and it would only occur once. If anyone could help me out, that would be awesome. In case it's important, I'm using Doom Builder.

And just so I get this right...you write all your script in a text file and name it .acs, right? And then use the ACS compiler to incorporate it into the map? lol, I'm kinda new at this :P Kinda...really new.

Thanks in advance!

Share this post


Link to post
Parapsyche said:

you write all your script in a text file and name it .acs, right? And then use the ACS compiler to incorporate it into the map?

Thats the ancient method to do it :P Its still possible, but Doom Builder already does this for you.

Make a map in a Hexen format and in the menu go to Scripts -> Edit BEHAVIOR lump. It will show the scripts editor (click the Make Script button if you have no scripts yet). Now write your script and when you're done and want to try it out, click the Compile button at the top. Then test the map. The script is saved and kept with your map automatically at all time, so saving your map also saves the script with the map.

An example of a script that displays a message:

Script 1 (void)
{
    Print(s:"Parapsyche is teh 1337 scriptz0r dude!!!!11123");
}
Then set the line action to trigger this script (ACS_Execute action) when the player walks over.

More info about ACS is here.

Share this post


Link to post

Oh man, thanks a lot, lol. That's a LOT less complicated. I got it working!

Before, for some reason my computer didn't like the Doom-Hexen format, so I was using Doom-Doom. However, it seems to be working now alright now. Now hopefully I can make a cool map! lol, it's my first one, but I've already got some ideas to work with.

Thanks again!

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
×