Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #2341 Back to Issue ]
Summary 0002341: ACS function to restart the current map.
Revision 2015-07-11 19:42 by Visual Vincent
Description I would like to have a function to restart the current map, but still keeping all your items and stats etc. I am currently working on a Cooperative based mod where I want to include the option to play at the same map for a specified amount of rounds. When each round is over the map would restart. ResetMap() won't do it since it's not compatible with Cooperative and also because it won't respawn dead players or spectators if used in another gamemode.

I have tried to use the ChangeLevel function but it crashes in multiplayer. It does only appear to work in singleplayer.
Revision 2015-08-22 16:26 by cobalt
Description I would like to have a function to restart the current map, but still keeping all your items and stats etc. I am currently working on a Cooperative based mod where I want to include the option to play at the same map for a specified amount of rounds. When each round is over the map would restart. ResetMap() won't do it since it's not compatible with Cooperative and also because it won't respawn dead players or spectators if used in another gamemode.

I have tried to use the ChangeLevel function but it crashes in multiplayer. It does only appear to work in singleplayer.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker