Problem with Day / Night Script (Digits during game)

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
Fantastic
Posts: 11
Joined: Wed Nov 05, 2014 6:45 pm

Problem with Day / Night Script (Digits during game)

Post by Fantastic »

I Made a night script for my outside area like this :

function whattimeisit()
wtii = GameMode.getTimeOfDay()
hudPrint(""..wtii.."")
end

GameMode.setTimeOfDay(1.5)

Everything works fine but: i can see the increasing number 1.5 .... within the game also when i exported my dungeon to the real game.

how can i change my script to let the digits disappear ?
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: Problem with Day / Night Script (Digits during game)

Post by cromcrom »

did you try to remove hudPrint, or comment it (--hudPrint.....) ?
A trip of a thousand leagues starts with a step.
Fantastic
Posts: 11
Joined: Wed Nov 05, 2014 6:45 pm

Re: Problem with Day / Night Script (Digits during game)

Post by Fantastic »

Perfect, thanks, its gone ;)
Post Reply