Various questions...

Started by Rincewind, Sun 15/06/2003 13:16:31

Previous topic - Next topic

Rincewind

Ok, I've desperately been trying to solve these problems myself, just by reading the manual and experimenting, but now it feels like I'm totally stuck...

- First of all, I am having trouble with this NPC that won't move to another room. I have it placed in room -1 from the start, and when you look at  a  certain hotspot later in the game, it's supposed to move to that specific room. I just used the "move NPC to different room"-command in the editor, but nothing happens, and the NPC doesn't turn up.  

- Secondly, my LEC-GUI is also not working as it should, even though I copied the code straight from Demo Quest. "Give to" isn't working at all, and the cykling cursor-mode is still on. Anyone have the correct script for this?

- Then I had this idea that was wondering if it could be done:
In the  end of my game I'm thinking of having a MI2-style shooting-puzzle(Like when Wally and Guybrush is tied up in the dungeon, and you have to spit you way out) where you throw an object at a certain hotspot it goes in one certain way, and if you throw it at another one, it goes another way... Or something like that, anyway... Could it be done?

Grateful for any help I can get... ;D  

Scummbuddy

1.  I dont understand.  He shouldnt show up anywhere. its -1 room meaning he dissapears, like, hes dead.  You can't actually have a room -1.

2.  This one would probably be better for what you need.
Proskrito's system-Non template

and here is his newly released template.
Proskrito's system-Template

3.  If interact with hotspot then run animation. and do a couple of these.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Rincewind

Ok, this was how I meant - I have the npc in room -1 from the beginning, but I want him to be moved from room -1 to another room later on. This is my problem. He doesn't appear in the room when he is supposed to. Is it impossible to move a character to move from room -1 to another, "real" room? Or am I just doing something wrong?


I actually downloaded his latest template, but I haven't had time to test  it yet. I will take a look, though... It sounds great to me.

Ah, I imagined it might be pretty simple, but I thought it was better to ask anyway, before trying anything myself... ;D

Thanks alot!

Archangel (aka SoupDragon)

Use a text script, and put the line

character[MAN].room = x;

where MAN is the script name of the npc and x is the room you want him to move to.

As for your gui problem, are you sure you correctly edited the global script to handle the gui as you expected?

Rincewind

Thanks, Archangel - I'll give it a shot.

About the GUI:
It wouldn't surprise me if I had done it wrong... I'll try out Proskritos template first, though.  

SMF spam blocked by CleanTalk