The Dink Network

pretty stupid question

March 12th 2005, 04:48 AM
pq_skull.gif
dinkme
Peasant He/Him India
 
Well this is a pretty stupid question but how to have a screenlock on a screen. Do I have to make a global variable, I just don't get it
March 12th 2005, 05:49 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Put the following code where you want to have a screenlock:

screenlock(1);

And presto! If you want to unlock the screen:

screenlock(0);
March 12th 2005, 08:49 AM
slayer.gif
Kmaikl
Peasant He/Him
 
didn't it tell you that in the dinkc.txt document that came with dink smallwood?
March 12th 2005, 08:58 AM
pq_skull.gif
dinkme
Peasant He/Him India
 
Thanks magicman and I am very stupid as I ahve deleted the devlop section and am not daring to install it agsin so no damage to my DMod is caused, any suggestions what I might have to do to replace the files
March 12th 2005, 09:47 AM
milder.gif
Make you dmod save in a .dmod file and save it somewhere on you're hd and reinstall the dinkdirectory
March 12th 2005, 02:51 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
scratch that, just download the dink c reference help file from simonk
March 12th 2005, 11:43 PM
pq_skull.gif
dinkme
Peasant He/Him India
 
Which is better DinkC refference by SimonK or the orignal one
March 12th 2005, 11:58 PM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
the original one is the same with less stuff but in a .txt file
March 13th 2005, 12:50 AM
anon.gif
SimonK
Ghost They/Them
 
The WinHelp version I did has a few appendices which come in handy
March 14th 2005, 08:24 AM
pq_skull.gif
dinkme
Peasant He/Him India
 
I installed it and it started working but when I see the script for the bonca in that cave of Stonebrook there is no screenlock(0); or screenlock(1); command in the script but when I play the game there is a screenlock when you fight the bonca. I checked out the other screens which had screenlocks in it but found no one with the screenlock command
March 16th 2005, 07:26 AM
pq_skull.gif
dinkme
Peasant He/Him India
 
Any ideas???
March 16th 2005, 11:28 AM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
delete everything.
March 16th 2005, 11:35 AM
anon.gif
Tal
Ghost They/Them
 
Punch josh in the 'nads (if applicable).
March 16th 2005, 10:47 PM
pq_skull.gif
dinkme
Peasant He/Him India
 
Will be glad to.
March 18th 2005, 10:12 PM
pq_skull.gif
dinkme
Peasant He/Him India
 
So any real ideas except Josh's why there is no screenlock used.
March 19th 2005, 01:03 AM
anon.gif
MiloBones
Ghost They/Them
 
Look at EN-PBON.c in the source to see screenlock used.

The first bonca you fight isn't screenlocked, AFAIK.
March 19th 2005, 01:05 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
Perhaps there is a sprite with a screenlock script hidden off screen or perhaps the commands are hidden in another script.