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

Issue with Simple Script Not Executing

Recommended Posts

I'm having an issue with a very simple script. I am using a lindef to execute the script when it is crossed. Two problems. One, if both "When Player walks over" AND "When monster walks over" is selected, it will not execute if I, or a monster walks over it. If only "When monster walks over" is selected, it STILL does not execute if a monster walks over it. If a friendly marine walks over it, it doesn't execute.

Only when I, the player, walk over it does it execute. What's going on here? Thanks for your time.
-------------------------------------------

#include "zcommon.acs"

script 1 (void)
{
Print(s:"Power Restored to Communications Satellite");
}

Linedef -
Action 80 Script Execute
Script Number : Script 1
Map Number : 0
Arg1: 0
Arg2: 0
Arg3: 0

X Doublesided
X When player walks over
X When monster walks over

Share this post


Link to post

The Print message will only display to the activator of the script. Use PrintBold instead to display the message to all players. Hope that helps.

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
×