Silgrad Tower from the Ashes

Full Version: Soluthis0916 "Witherbug" Dres Scuttler [Finished]
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 9 10 11 12 13
Quote:Originally posted by AnImpatientFan
Grr...

Ran into another issue.

I attached a script to each cage door. Like this:

begin onactivate
if STIPCageDoor01 getopenstate == 0.
setstage STIPTheTrade 20

But the problem is... the door seems to lose its door functions when I use the "begin on activate command"
Who activates the door?

Using Onactivate --> Normal activation isn't possible.

GetOpenState == 0 means nothing.


Further add a check so that the activate sequence it performed only once.

An example script I wrote (for RW's animated cupboard/closet).
Open is the short that takes care of the check.
Code:
ScriptName StSrContainer

short Open


Begin OnActivate; Play anim

If IsActionRef Player == 1
    PlayGroup Forward 1
     Set Open to 1
EndIf

End



Begin GameMode

If Open == 0
    Return
EndIf


If Open == 2; Run after closing the inventory
    Set Open to 0
    Playgroup Backward 1
EndIf



If IsAnimPlaying == 1; Wait until anim open ready; If disabled the inventory will open, after closing both anims will be played
    Return
EndIf


If Open == 1
    Set Open to 2
    Activate; Open inventory
EndIf


End

In order to help you, I need more info.

Why not use 'unlock' and guide the NPC by AI?
Just a thought.
Thanks Smile

EDIT: I have tried something else and it still won't work. I've attached the file. I know your busy, but after 3.0 is released maybe you could take a look. It ould be much appreciated.
I'll merge the file and if necessary I'll disbale the script(s) etc.
Yeah, dial and all that is working.
So are the quest stages etc.
But as for scripts everything is broken.
Quote:Originally posted by AnImpatientFan
Yeah, dial and all that is working.
So are the quest stages etc.
But as for scripts everything is broken.
Okay, I'll have a look at the scripts. :check:
HALT! :alert:

The old version has issues. Here is the new one.
Scripts are still broke though.
My bad for not notifying you earlier.
The scripts are the same as the previous file. The new one fixes dial and some weird bleeding into the floor. (Which is too thin.)
I downloaded the file.
Smile Thanks,
I didn't want to waste any of your time by asking you to look at an old file.
My bad for not uploading it earlier.
NP, I just started checking the esp. Smile
I didn't review the content and disabled the scripts. :check:


Please add claim codes to everything you create, it's a lot easier to read/change/review the modded content.
Especially to Globals and scripts. Further add a version number to your esp's.

TIA.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13