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

Messages - Sayhello-hello

#21
Ah! Just that easy huh? :)

Thanks.
#22
Hi,

I'd like to make a function where I can check what room the character is/was in. Basically something happens (anywhere for example room X) and the player is transported to a certain room (Y) once the player exits room Y, he has to be back at room X again. But since it's he might not necessarily be transported to room Y from X, he could have been transported from room Z to Y, then how would I go about doing this.

I was thinking of making a function that somehow checked where the character was before room Y and then call the function in room Y in order to get the character back to the right room.
#23
Thanks a lot for the answers, I'll look into it.
#24
Thanks for the answers both of you, I'll try it out. But would this work for specific puzzles? Like Puzzle 1A, 2A and so on leads to one end while Puzzle 1B, 2B and so on leads to another. Because from what I gather of the codes you posted it's x random number of puzzles, but then the phone would start ringing before the xA-puzzles has been solved.
#25
Hi,
I'm having a problem as to how I'm supposed to make sure the game is ending. Basically if the player has solved x number of puzzles then a phone will ring and the player then has to find the phone. I'm not sure how to tackle this. Below is my attempt to make it work, but it doesn't. The puzzles aren't solved in a specific order by the way.


function game_start
{
    if (Puzzle_1_KIDS == true && Puzzle_2_CHICAGO == true && Puzzle_3_FUNERAL == true && Puzzle_4_SISTER == true && Puzzle_5_TWO_DAYS == true)
  {
  cDummy.Say("Ring! Ring!");
  }
  else if (Puzzle_1A_LOCKED == true && Puzzle_2A_PRINCESS == true && Puzzle_3A_PRINCE == true && Puzzle_4A_MOVIES == true && Puzzle_5A_CASTLE == true)
  {
  cDummy.Say("Ring! Ring!");
  }}
#26
I feel real dumb now, I found the solution and it was something kind of obvious.

It was because the coordinates I put in made the character stand in the hotspot that transported him back to the room he came from, that's why he kept ending in the room he came. So I changed the coordinates to a place NOT on the hotspot, and this solved the problem.

Maybe this is the same problem as the original poster had?
#27
Hi, I'm having the same problem.

It only occurs when I add coordinates, otherwise if it is just the room number it works fine (but then the character stands in a weird place). How can I fix this? Thanks.
SMF spam blocked by CleanTalk