The Dink Network

Reply to Re: Scripting Help

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:
 
 
May 26th 2007, 02:00 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Touch script:

void main(void)
{
sp_touch_damage(&current_sprite,-1);
}
void touch(void)
{
if (&story < 3)
{
say("Now way i'm not going there!",1);
}
}

To use visions... Well I don't like visions, but if you do plan to use them do it like this:

- Set the vision of the thing you want to be visible only when you choose to and give it a vision (not 0)
- In a script attached to the room set the vision, like when you've set the vision for the object to 5, do this:
void main(void)
{
&vision = 5;
}
And you should be fine, I do believe sprites with a vision need to be of the normal type, using background or invisible causes problems.