The Dink Network

Reply to Re: Vision and variables

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 14th 2013, 03:21 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Sure, you can connect it to any variable you like. Setting a value for the vision should be done in the script attached to a screen and putting in something like this:

void main(void)
{
if (&dead == 4)
{
&vision = 4;
}
}


Where &dead can be any variable you like, you could even do this if you like:

void main(void)
{
if (12 == 4)
{
&vision = 4;
}
}


It's kinda pointless, but hey more power to you!