Page 1 of 1
Super simple question
Posted: Sun Sep 23, 2012 6:54 pm
by HaunterV
How do I create an ending to my level? Like what do I use to define that the dungeon is completed for the player so they aren't left wandering around thinking 'this is Dumb, there is nothing left to do."
is there a "end game you win" script or something I can tie to a door or stairs?
Re: Super simple question
Posted: Sun Sep 23, 2012 6:56 pm
by LordGarth
I was wondering the same thing hahahahahahah
Cant wait to hear about this.
LG
Re: Super simple question
Posted: Sun Sep 23, 2012 7:00 pm
by Ixnatifual
I'm guessing you can use the completeGame() function for that.
http://www.grimrock.net/modding/how-to- ... inematics/
Re: Super simple question
Posted: Sun Sep 23, 2012 7:05 pm
by SpacialKatana
Simplest way is via messages to the screen:-
Have whatever finishes the dungeon (door opening, monster onDie hook) target a simple message script_entity
function endgame()
hudPrint("More to come soon...")
endgame_timer1:activate()
endgame_timer2:activate()
end
The timers can be set (in my example) to fire more subtitle script entities, sounds, light effects etc.. A delay of ~9 seconds is good for subtitles.
Make sure the timers target themselves to deactivate too, unless you want the text to endlessly repeat.
You can also do title sequences which are explained here:-
http://www.grimrock.net/modding/how-to- ... inematics/
Re: Super simple question
Posted: Sun Sep 23, 2012 7:41 pm
by HaunterV
thanks guys!