I'm inserting a few scripts into all of my WAD's levels, and for ease of mind I've decided to give them strings as names instead of numbers (so for example, "player_tracker"). On static lines this has worked just fine using line action 80 and setting the "String" flag. However, there are places where I don't want these scripts to trigger until after the player has done something specific, but when I use
to apply the "player_tracker" script to line 108 after a certain point, nothing happens. The rest of the script works fine and I can see it trigger, but this part of it is having no effect. What should I do?
Question
SMG_Man
I'm inserting a few scripts into all of my WAD's levels, and for ease of mind I've decided to give them strings as names instead of numbers (so for example, "player_tracker"). On static lines this has worked just fine using line action 80 and setting the "String" flag. However, there are places where I don't want these scripts to trigger until after the player has done something specific, but when I use
SetLineSpecial(108, ACS_Execute, "player_tracker", 32, 7);
to apply the "player_tracker" script to line 108 after a certain point, nothing happens. The rest of the script works fine and I can see it trigger, but this part of it is having no effect. What should I do?
Share this post
Link to post
11 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.