Jump to content

Can GetFormFromFile fetch other things besides scripts?


Fredas

Recommended Posts

Posted

Every use I've seen for this function ultimately calls upon a script, by its file name.  For example:

form Testing = Game.GetFormFromFile(0x000012DB, "Frog.esp")
(Testing as ScriptFileName).FrogFunction()

I would find it very convenient if I could use the function to tap into global variables.  I'm sure it can be done.  I just don't know the syntax.  After six hours of permutations, I'm ready for advice.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...