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 - Rocky_Johan

#1
Hey!
Total newbie here so sorry for asking this.
Been reading trough the manual but i still can't figure out the correct coding for this and i have been stuck for weeks so  i'm finally buckling down and asking the forum.

I have my main character walking into the library where he picks up some books. He has to show a library card to the librarian in order to be able to leave.
Otherwise the librarian stops him. Classic Point & click stuff.

I have the room edge as a separate walkable area that is turned of as soon as you pick up any of the books and is then turned on as soon as you give the card to the librarian but i can't get it to work correctly.

Can someone go trough the coding for this as thoroughly as possible?
Please explain it to me like i was a complete idiot :)

Thanks!
#2
Hi!
Total beginner here. Was looking trough the forum but couldn't find this specific thing.
I'm trying to do a room where a the character tries to buy some stuff from a store. Problem is he needs to pay the store clerk with money otherwise he isn't allowed to leave the store and has to return everything he has picked up.
How should i go about coding this?

Thanks!

#3
So i'm trying to get my character from room 1 to room 2 following the manual and tutorial videos.
Everything works untill i leave room 1 and the game crashes with this error message:

"error: prepare_script: error -18(no such function in script)
trying to run ´room load´ (room 2)"

What does this mean and how do i fix it?

My code leaving the room looks like this:

function room_LeaveTop()
{
cEgo.ChangeRoom(2,  502,  448);
}


Thanks!
#4
Hi! Just starting out. This seems really simple so apologizing beforehand but i canät find the answer anywhere(Sorry sorry sorry).

I want to give an inventory object to an NPC and get another object in return.
Point & Click 101. Can't figue out the coding and every tutorial just skips it.

Please help
(Sorry again)

Cheers!
SMF spam blocked by CleanTalk