collab needed. ACS: Make a monster walk, then stop.

Ok, if anyone is willing to help and collaborate on this, I'll be so happy.

Here's what I want to do:

I want the player to flip a switch, and that would get a 'Scripted marine' to walk to a point, once he gets there, he just stops and STAYS THERE AND DOES NOTHING ELSE.

just can't get that done.
I got a 'test' map, to be used as proving grounds.

https://docs.google.com/file/d/0Bzc6MWmAB9KbZmlxZElrZWVGdnM/edit?usp=sharing

so far what I can do is make the monster move to that 'path node' and from then on he just wanders off...!!! aaaaaaarrgh!! ya'know...
I want him to just stay put there.
so if anyone gets this right, it'll be much helpful if they told me how.
thanks a lot for your time and interest in this.

ps: I should start creditting ppl that helped me once I get all this stuff in my wads.

Share this post


Link to post

what's a scripted marine, like a normal monster that attacks and stuff?

it needs a tid, if its a player-ish thing, it needs a player tid, and I think an enter script is the only way to give a player a tid:
http://zdoom.org/wiki/Assigning_TIDs_to_Players

If its a monster, give it a tid when u spawn it, or manually give it a tid in doombuilder.

u can deactivate it completely:
http://zdoom.org/wiki/Thing_Deactivate

You can stop it:
http://zdoom.org/wiki/Thing_Stop

I suspect its a monster so will be walking around and stuff after the stop, so maybe put the stop in a while loop to constantly stop it:
while(1)
{
thing_stop(bla);
delay(1);
}

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