View Single Post
08-09-20, 03:10 AM   #6
ContactingWoWInterface
A Deviate Faerie Dragon
Join Date: Aug 2020
Posts: 12
Originally Posted by Rilgamon View Post

OptionalDeps
String - A comma-separated list of addon (directory) names that should be loaded before this addon if they can be loaded.
Code:
## OptionalDeps: someAddOn, someOtherAddOn
When I add "## OptionalDeps: PitBull4" to my .toc file I get this error.

Lua Code:
  1. 2x PitBull4_Combat_Toggle\core.lua:14: attempt to index global 'PitBull4_Groups_Party' (a nil value)
  2. [string "@PitBull4_Combat_Toggle\core.lua"]:14: in main chunk
  3.  
  4. Locals:
  5. f = <unnamed> {
  6.  0 = <userdata>
  7. }
  8. inCombat = false
  9. (*temporary) = nil
  10. (*temporary) = nil
  11. (*temporary) = "OnEvent"
  12. (*temporary) = <function> defined @PitBull4_Combat_Toggle\core.lua:5
  13. (*temporary) = "attempt to index global 'PitBull4_Groups_Party' (a nil value)"

Does this mean that it isn't related to the load order? From my understanding a nil value means that it doesn't exist for it to use, but the frame is clearly there when I log in. If it isn't load order I'm lost. T_T
  Reply With Quote