Jump to content
  • 0

Actor mover not working in acs


Skemech

Question

I'm scared to ask, because I really don't want another "Here's a doom coding website, read their shit". Those websites aren't helpful when idk wtf they're talking about 80% of the time. But I'm having issues with an actor mover and interpolation points in my acs scripts.

 

Any ideas on how to get Actor named "Bonnie" to succesfully...

if (bonnieLocation == 2)
{
	Thing_activate (35);
	bonnieLocation = 3;
}

 

(The thing_activate activates an actorMover)

 

bonnieLocation.png.4afb43d21390d979ca8fe1c5d3088152.png

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 1
Quote

I'm scared to ask, because I really don't want another "Here's a doom coding website, read their shit". Those websites aren't helpful when idk wtf they're talking about 80% of the time.


We cannot make knowledge magically enter your brain. You have to study and learn.

 

I see at least one problem:

 

You're using a bool, which has allowed values of 0 and 1. I see you assigning 1, 2, and 3 to it, which is at least one value too many. Despite being told multiple times, you still don't seem to understand what a boolean is.

 

Perhaps you should slow down and practice on smaller projects to get the hang of it, instead of just doing a cliff dive into the rocky surf of a mod which radically alters the gameplay of Doom and will thus require a lot of coding.

Edited by Stabbey

Share this post


Link to post
  • 1
5 hours ago, Skemech said:

ok, literally anyone else have any advice (Advice being the keyword) on what I could do. This is how I learn. I spitball Idea's to people, and they tell me it'll work or it won't.

 

It doesn't look like you're actually listening to the advice given by people, though. Because you're making the exact same mistakes you did in your other threads, where people already told you how to do it correctly (in this case with the if statement).

Share this post


Link to post
  • 1
8 hours ago, Skemech said:

 

I had a bad day. Sorry to have taken it out on you for next to no reason. I can't go for a simpler. I both enjoy the challenge, as well this project means a lot to me. I tried looking for a specific page on zdoom.org but I can't find it... perhaps you know?

 

I wasn't offended.

 

However, I don't agree with "This is how I learn. I spitball Idea's to people, and they tell me it'll work or it won't," because that's not learning, that is asking people to just give you the answer. The proof of that is what boris points out; you're repeating the same mistakes even though people have previously given you the answers which would have solved your problem.

Share this post


Link to post
  • 1

In the future, try this thread. It's designed more for one-off questions where the asker isn't necessarily looking for a big effort commitment (or calling for that from others), which is more of the "spitballing ideas" approach you are talking about. If you start a lot of threads (currently 6 out of the 25 on the first page) and don't use the responses in all of them, threads might not be the right medium for what you're looking for.

Share this post


Link to post
  • 0
7 minutes ago, Stabbey said:


We cannot make knowledge magically enter your brain. You have to study and learn.

ok, literally anyone else have any advice (Advice being the keyword) on what I could do. This is how I learn. I spitball Idea's to people, and they tell me it'll work or it won't. Speaking of, will this picture below work or no?

 

 

updated.png.250e499b13da6cc820d1fbe3be113d9a.png

Share this post


Link to post
  • 0
57 minutes ago, Stabbey said:

Perhaps you should slow down and practice on smaller projects to get the hang of it, instead of just doing a cliff dive into the rocky surf of a mod which radically alters the gameplay of Doom and will thus require a lot of coding.

 

I had a bad day. Sorry to have taken it out on you for next to no reason. I can't go for a simpler. I both enjoy the challenge, as well this project means a lot to me. I tried looking for a specific page on zdoom.org but I can't find it... perhaps you know?

Share this post


Link to post
Guest
This topic is now closed to further replies.
×
×
  • Create New...