keys?
ryandebraal
11 Jun 2007, 19:39I cant figure out how to make a key object work
I have a door, with a flag on 'unlocked' set to OFF
and a script under the Key object -> Inventory -> Edit "use" -> Objects Key can be used on
I have door listed wit ha script that sets unlocked flag to true
when I try to use the key on the door it says it cant see that??
I have a door, with a flag on 'unlocked' set to OFF
and a script under the Key object -> Inventory -> Edit "use" -> Objects Key can be used on
I have door listed wit ha script that sets unlocked flag to true
when I try to use the key on the door it says it cant see that??
Elexxorine
12 Jun 2007, 10:18Can you explain waht you did in a bit more detail?
So you have a key object with a 'use on door' script saying to set the flag to 'on'. Is the 'door' called 'door' or got 'door' as one of its alternate names? That might be the problem, as quest won't know its called 'door'. Is the key already in your inventory, and got its names set up right too? Check these things, fix them if they're wrong. Tell me if you've got any more problems.
So you have a key object with a 'use on door' script saying to set the flag to 'on'. Is the 'door' called 'door' or got 'door' as one of its alternate names? That might be the problem, as quest won't know its called 'door'. Is the key already in your inventory, and got its names set up right too? Check these things, fix them if they're wrong. Tell me if you've got any more problems.
ryandebraal
13 Jun 2007, 08:00I can't use the default "take" option - I always have to write a script to add the item to my inventory what gives?
Alex
13 Jun 2007, 17:23Can you send me your ASL file (or paste it here) so I can take a look?
ryandebraal
13 Jun 2007, 18:32thanks I appreciate your prompt responces - I think I got it though, I foolishly used "Take" as a custom verb, thus overriding its default functionality
Elexxorine
14 Jun 2007, 07:56Glad you got it working. Is the door working as well now?