Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Iceshoot

#1
Ok then..

Well i am currently following the tutorial, and now it came around to making my first object.
It said, as i'm using default(sierra style or something), i had no use yet for the pick-up script, as my style didn't really have a 'pick-up' option.
So i had to make an Interaction script.

So i made one, following the tutorial, only the thing now is..

When i try to pick the 'KEY' up, it trows me out of the game and say's 'There's no such function in the script, try the AnyClick script.'

But with the AnyClick script, even the LookAt function picks up the key..

Also, They key is quite hard to click on... Really tiny responsive space, like 1 pixel of the key..

My Script:

function oKey_to_Heaven_Interact()
{
oKey_to_Heaven.Visible = false;
player.AddInventory (iKey);
GiveScore (5);
}

Any Suggestions?
#2
// room script file

function hOcean_Look()
{
 Display(''I'm walking on.. an ocean?!'');
}

The above is EXACTLY how i got it, and what the tutorial learned me.

However i get this error when i try to Save or Run:

room1.asc(5): Error (line 5): incorrectly terminated character constant

The knowledge base here gives me Errors 404's, and no1 else asked this before when i searched the forums.

Any suggestions?
SMF spam blocked by CleanTalk