requesting a lua function to restart the mission before losing it

1 reply [Last post]
sphrix
sphrix's picture
User offline. Last seen 5 hours 34 min ago. Offline
Joined: 2011-04-07
Posts: 203

hello everyone,

i'm looking for a function to add in lua script of missions, training and campaign .lua files in order to restart the mission without have to first loose or leave it and then press the start button

for example, there is a shoppa challenge ( the one on ropes, included in the release) ; sometimes you want to beat your time, you make a mistake and you know you wont beat the time, so you have to restart, could we restart the mission by hitting an 'X' key that would call a fonction resetting the game. so you dont have to start again the engine.

if you have this function or just write it, id love to try it Smile

the beachs hogs surfin hedgewars

Wuzzy
Wuzzy's picture
User offline. Last seen 6 hours 6 min ago. Offline
Joined: 2012-06-20
Posts: 1083

I partially agree.
Yes, a possibility to quickly restart a mission would be really useful for record-hunters and hardcore gamers alike. Big Grin

But this functionionaliy should be available for all missions automatically, ideally without any extra Lua coding. It would suck if it depends on the mission wheather it is able to be restarted quickly or not.

Edit: This is obviously the wrong forum. Somebody: Please move this to suggestions.

Hi, I am a Hedgewars developer. Smile I accept personal donations in bitcoin. Heart 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]