Re: Visions
I'm working on a new (better) Dmod, and I'v done visions in the past, but this has never happened. Whenever I walk onto the screen with the visions, it freezes Dink, and I either have to go back to a weird looking desktop and use the Task Manager, or restart my computer. This is the script:
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
}
if(&story == 10)
{
&vision = 0;
}
I used that and did the vision on the screen's property page.
P.S
The visions in use thing on WinDinkEdit isn't working, either. It just shows vision 0.
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
}
if(&story == 10)
{
&vision = 0;
}
I used that and did the vision on the screen's property page.
P.S
The visions in use thing on WinDinkEdit isn't working, either. It just shows vision 0.
It could be that you have the brackets little messed up. You don't want to close void main before the script is done... Move down 1 of the closing brackets to the end of the script.
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
} <--- This one
I'm kinda tierd so I might have forgot something else, but try that. It may solve your problem
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
} <--- This one
I'm kinda tierd so I might have forgot something else, but try that. It may solve your problem

brackets problem, pls write the script this way:
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
if(&story == 10)
{
&vision = 0;
}
}
void main(void)
{
if(&story == 0)
{
&vision = 1;
}
if(&story == 10)
{
&vision = 0;
}
}
Ahem! Wikipedia on brackets:
There are four main types of brackets:
* parentheses or round brackets: ( )
* box brackets or square brackets: [ ]
* curly brackets or braces: { }
* angle brackets or chevrons: 〈 〉
There are four main types of brackets:
* parentheses or round brackets: ( )
* box brackets or square brackets: [ ]
* curly brackets or braces: { }
* angle brackets or chevrons: 〈 〉
Yes, I looked it up on Wikipedia. That's why I said it.

Me goblin. Me spek bad englash.
It's one of those things everyone confuses, anyway. Don't mind me...
