requesting a lua function to restart the mission before losing it

1 reply [Last post]
sphrix's picture
User offline. Last seen 1 day 8 hours ago. Offline
Joined: 2011-04-07
Posts: 207

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's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2012-06-20
Posts: 1304

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

User login

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