Hello!
Is possible to restart ShootMania solo map via script? I need this to map end ui in invasion.
Restart
Moderator: English Moderator
- Dommy
- Translator
- Posts: 1866
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
Restart
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Re: Restart
sorry, what?domino54 wrote:I need this to map end ui in invasion.
can't you just use the map end sequence by hand?
- Dommy
- Translator
- Posts: 1866
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
Re: Restart
Im going to do a popup, when game is over in Invasion solo campaign, with buttons Quit, Save replay and Retry, but I cant find the method to restart map.
And atm I didnt see end sequence like in trackmania available for sm.
And atm I didnt see end sequence like in trackmania available for sm.
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Re: Restart
ah okay
you will have a hard job trying to accomplish this ^.^
well i would say you can't actually perform a restart (which would restart the script as well)
but i think you should be able to load the same map again, try NextMapIndex for that (just a random guess)
you will have a hard job trying to accomplish this ^.^
well i would say you can't actually perform a restart (which would restart the script as well)
but i think you should be able to load the same map again, try NextMapIndex for that (just a random guess)
Re: Restart
Did you find a way to do it?domino54 wrote:Im going to do a popup, when game is over in Invasion solo campaign, with buttons Quit, Save replay and Retry, but I cant find the method to restart map.
And atm I didnt see end sequence like in trackmania available for sm.
I tried SM::RestartMatch(); RestartMap Round, etc etc.
Nothing.
US: Meltdown Combat Server: maniaplanet://#join=smrock@SMStorm å Offline
EU: Meltdown Combat Server: maniaplanet://#join=smpage@SMStorm å Offline
US: SMTRAK Startup Server: maniaplanet://#join=tmrock@SMStadium å Online
EU: Meltdown Combat Server: maniaplanet://#join=smpage@SMStorm å Offline
US: SMTRAK Startup Server: maniaplanet://#join=tmrock@SMStadium å Online
Who is online
Users browsing this forum: No registered users and 1 guest