Character is always on the screen

Started by INDY54, Wed 19/04/2006 13:44:30

Previous topic - Next topic

INDY54

 :( I have this problem,  I have a character in the room1 then when this character look at one hotspot  I change to room2 where I show the page  of the document who is looking for , but although the character is set hide in the room2 appears overwritten in the room2. Why this happen ?
I have already mark Hide character  in room2. But isd always the same.
What can I do ? Where I am wrong. ?

strazer

(Please do not cross-post. I have deleted you original thread in the Technical Forum.)

Are you sure it's the player character that's visible in room 2? Maybe it's another, unused character that looks the same as the player character (i.e. uses the same view) and that starts in room 2.
To make sure, check in the Characters pane of the editor that none of your characters have "Starts in room: 2" set.

What pieces of code or interaction editor action do you actually use? How do you change rooms?

INDY54

 :( This is my code:
  // script for Hotspot 1 (Hotspot 1): Interact hotspot
character[INDY].Say("It is an old document ");
character[INDY].Say("Speaks about Templars");
player.ChangeRoom (2);




Gilbert

Is the character INDY the player at that time?
Note that the room "hide player character" option only hides the player, not any other characters.

INDY54


Gilbert

One possibly, that since you had set a speechview for the character, so it would still be used in that room. You may need to disable it manually in that room with:
player.SpeechView = -1;

INDY54

Where i must put this code, in the interact box of the room2 ? I try this yet but noting is changed.

INDY54

I have solved the problem. I create a new game starting from another were in the room 2 there was this character speaking, so I delete all 
and at the end I made a blank view for the character for solve definetively the problem. :) , but I wonder If I want delete a character what is the best thing to do.?

Scorpiorus

You can't delete characters at the moment.

If you don't use a certain character anywhere in your game just goto the Characters pane and set its starting room to -1. It will not appear in any room then.

You can also change its name to something like "not used" to mark it that you can always go and reuse it later. :)

INDY54


SMF spam blocked by CleanTalk