Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Doom-X-Machina

Activating line specials with ACS? --- [FIXED IT!!]

Question

Hey everyone... wondering if someone out there can help...

Can you activate/deactivate lines with specials on them (ie: 243 End_Normal) via ACS like you can with Thing_Activate/Deactivate?
I know there's a LineSetSpecial call but I'm not quite sure how to use it properly.

Any advice is much appreciated :)



Sorry everyone, I worked out what I was doing wrong. Got it working.

I'm an idiot lol

 

Edited by Doom-X-Machina

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

ClearLineSpecial can be used to clear the special of the line that activated the script. It can't be used on other lines though, for that you'll need to use SetLineSpecial as you mentioned. The usage is pretty simple, just follow the example on the wiki page. The first argument is the line id, second one is the special you want to give that line and the rest are arguments passed to that special. It'll override anything that was there before.

 

However, if you're interested in activating/deactiving the line without altering the special, you can use SetLineActivation to change/remove the activation flags. They can then be returned with another script if needed, without having to redefine the special. Check the wiki examples again for proper usage.

Share this post


Link to post
  • 0
26 minutes ago, Aurelius said:

However, if you're interested in activating/deactiving the line without altering the special, you can use SetLineActivation to change/remove the activation flags. They can then be returned with another script if needed, without having to redefine the special. Check the wiki examples again for proper usage.


Thankyou for that @Aurelius. Even though I managed to get it working, this is also very helpful and useful for future things :)

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
×