Silgrad Tower from the Ashes

Full Version: Seamless Transition Town Thread!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Hi AnImpatientFan Smile

There are a number of animated doors with scripts attached. The script closes the door on a timer. Before I knew they existed(created by other members) I created and attached a script to my own doors in the Hlaalu Savings Bank.

I dont have my CS with me so I cannot look, but find an animated door created possibly by TID, RW or maybe Sandor with a script attached. If the script is just a simple timer then that could be used to close the door behind your NPC. If the door has a particular name attached or has a refernce ID you may have to create a new object but the script could be used.

Merry Christmas
Charles
Thanks Zurke! Smile

I will have a look for them.
This will make it a whole lot easier.
In the rent for room script you have to add a line like 'SetOpenstate to 0' before locking it.
Quote:Originally posted by sandor
In the rent for room script you have to add a line like 'SetOpenstate to 0' before locking it.

Sorry I should have made myself more clear.
I mean the permanent rooms that the NPCs own.
Quote:Originally posted by AnImpatientFan
Quote:Originally posted by sandor
In the rent for room script you have to add a line like 'SetOpenstate to 0' before locking it.

Sorry I should have made myself more clear.
I mean the permanent rooms that the NPCs own.
Then you should use a script as suggested by Zurke (check the code below).

Code:
; Original from WillieSea
; Closes animated dorr 5 sec after opening
; This version does not lock
scriptname StDoorAutoCloseNoLockScript
float timer
short doWhat

begin GameMode
    if getopenstate != 0
        if timer > 0
            set timer to timer - GetSecondsPassed
        else
            if doWhat == 0
                set timer to 7
                set doWhat to 1
            elseif doWhat == 1
                setopenstate 0
                set timer to 4
                set doWhat to 2
            elseif doWhat == 2
                set doWhat to 0
            endif
        endif
    endif
end
Thanks Sandor! Smile
There didn't seem to be one for the Chorrol Middle Anim door so I will use that script!
I made a new script named StDoorAutoCloseLockonTimer.

The only issue I have is that if the player unlocks the door. It closes and locks the player inside the room.
And if the player doesn't have any lockpicks left...
Updated the OP with some screenshots. :check:
Nice screenshots!

Could you make the images appear as a 'th' format?
It loads the thread a lot faster.

Please check the following code (you have to use edit on my post to see it).

[Image: th_St_2008-08-28_lod_05.jpg]
OKay,

I will do that when I have time soon.
Pages: 1 2 3 4 5 6 7 8