» Mon Jun 18, 2012 4:37 am
Hm, well, I've gotten both scripts to compile without any errors, though I haven't done any in-game testing yet. One script sets another's state, let's see if I can get a function to work...
Also... What's the equivelant of "GameMode"? I'm trying to do something while the player has the alchemy menu open, and I can use "OnActivate" to determine when it's opened without much hastle, but how do I know when it's closed? Back in oblivion I could just set "int opened = 1" in the OnActivate block, then in GameMode, if "opened == 1", then it would perform the "closing menu" code.
EDIT: Calling a homemade function in Script2 from Script1 causes a compiler error, so that's a no-no...