5E Product Walkthrough Playlist
  1. #1

    Is An Extension Loaded?

    Greetings All,

    So I have been creating extensions since I purchased FG a couple of months ago.

    During this time I have had need to check if certain functions were loaded from different extensions and this is straight forward with

    Code:
    if <Name of Script> ~= nil then
    Where <Name of Script> is the name tag when the script is loaded in the extension.xml file.

    However I would like to be able to actually check if a whole Extension has been loaded.

    Is this possible?
    Thanks In Advance,
    D

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    22,117
    Blog Entries
    1

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  3. #3
    Thank you ... I assume that the name is the <name /> field in the extension.xml file and that it will return nil if the extension is not one of those loaded?
    Thanks In Advance,
    D

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
PF2E Playlist

Log in

Log in