Notes |
|
|
Adding a note that it could potentially be useful to have a `nextmap` ACS function alternative if `map` and `changemap` receive one. |
|
|
|
for completionism, theres also 'nextsecret' |
|
|
|
From what I can see, the only difference between the changemap command and ChangeLevel function is that the former waits for the survival countdown to end first. If needed, could that not be emulated by GetGameModeState?
And the only difference between the nextmap/nextsecret commands and the Exit_Normal/Exit_Secret specials is that the former throws an error if the next map doesn't exist. |
|
|
|
I actually had not known that Exit_Normal and Exit_Secret existed, I would imagine those would suffice for my purposes. However, for ChangeLevel, I have noticed in the past when trying to use it in lieu of ConsoleCommand("changemap") that it sometimes would not properly mark maps as used/current in the map rotation.
For context, I use ConsoleCommand("changemap") for an addon that allows players to vote for the next map, changing the map during the results sequence instead of letting the engine handle it. From my experience, substituting ChangeLevel into that spot sometimes results in weird scenarios where the current map is not marked green or later as invalid when using GetMapRotationInfo.
It may warrant further investigation to just make sure that issue gets fixed, but I'm not entirely sure how to make a minimum example file in this case, since the issue appears randomly it would seem. |
|