Flametail has written
Flametail has written
ok, another long post as I piece together what you are trying to do.
You want to replace the current model of the house with one that includes an interior, and have a second copy of that model but with an open door.
These new models will be scripted to function like a gate does. On use it switches the current model to the one with the open door and vice versa.
Pretty much, players uses the door by pressing {usekey}, the model of closed door house is replaced with model of open door house. Player enters the house via open door. Player can then turn around and hit {usekey} and the model of open door house is switched with closed door house, therebye shutting the player in the house.
NOTE: {usekey} is the key you press to use items, which for me is rightshift, but I forgot the defualt so I put {usekey} in the desription
I had asked if this is what we were trying to do, and I was told yes. So, to do this, we need the current house model to be modified to have an interior, and then copy that file and rename it, and remove the door from that file
If you would truly like to make a new model, instead of just editing(which seems to me to be easier), let me know.
Right... This can be done in 2 ways.
1: make a model for house with door open and house with door closed, then swap them on usekey.
2: (preferred but harder) create a house object with a hollow door and make a door object as well, then on build house, place the door object as well, then, on use door, you can rotate it's position, effectively removing the need for swapping models. The other added advantage is that the house's on:use event remains clear for other use.
Oh... and by the way
Quote
I had asked if this is what we were trying to do, and I was told yes.
We're not TELLING you anything. We're ASKING what you want. We have presented two methods of achieving the same thing with different pros and cons. We're asking YOU to decide what you want.