The Dink Network

Reply to Re: Smallwood-Man! *DEV THREAD*

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:
 
 
August 9th 2010, 12:16 AM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Visions huh? It's not difficult, there's just a very certain way you need to do it else it won't work. I'll assume you know how to do all the basic stuff required like setting a sprite's vision and attaching a script to the screen..

Anyways, it's not all that difficult once you get the hang of it. There's just only one way to do it and no room for error. There's pretty much just two rules:
(1) A vision change absolutely has to be on a script attached to the screen. That's the only place it will work.
(2)There can't be any waits or say_stops or anything that will pause the script before the vision is set. It must be done right away or it won't work.

As far as the script itself is concerned, this is all you really need..

void main ()
{
  if (&story == X)
  &vision = 1;
}