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

ACS: Multiplayer Monster Respawning?

Recommended Posts

Ok

so I have my WAD, and I figure that it would be cool that if you have multiplayer mode activated, all monsters should respawn automaticly as if it was nightmare difficulty, but just simply not nightmare at all.

(I do have custom monsters)

I have this

if (PlayerNumber() == 0 && GetCVAR("teamplay") == 1) { 
		
	SOMETHING }
so all I need is the ACS command, I have not been able to find it, do anyone know the command?

I use the GZDOOM port.

Share this post


Link to post

Use Thing_Raise. But that'll require you to give a TID to all monsters; your script will not work on monsters with TID 0.

Also there are better functions to check the game type. Like, gametype.

Share this post


Link to post

If the player wanted that, they could just run the game with respawning monsters right? Doesn't this method simply reduce the amount of choices the player can have?

Share this post


Link to post

You can change the difficulty setting by script, though it only takes effect on the next map.

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
×