View Single Post
01-22-22, 09:36 PM   #12
Zaqqari
A Deviate Faerie Dragon
Join Date: Aug 2019
Posts: 11
Perhaps I should have been more clear. I didn't write the script, and I don't even remember where I found it. I eventually got it to work using OnUpdate at 0.1s intervals, but I don't know how optimal that is. I'm just learning this stuff from scratch, so most of it goes right over my head. I tried your script, and it's not working.

From BugSack:

Lua Code:
  1. 1x ZaqqUI\ZaqqUI-1.0.lua:7: attempt to perform arithmetic on global 'SELF_NAMEPLATE_WIDTH' (a nil value)
  2. [string "@ZaqqUI\ZaqqUI-1.0.lua"]:7: in main chunk
  3.  
  4. Locals:
  5. f = <unnamed> {
  6.  SELF_NAMEPLATE_WIDTH = 100
  7.  SELF_NAMEPLATE_HEIGHT = 100
  8.  0 = <userdata>
  9. }
  10. (*temporary) = nil
  11. (*temporary) = <unnamed> {
  12.  SELF_NAMEPLATE_WIDTH = 100
  13.  SELF_NAMEPLATE_HEIGHT = 100
  14.  0 = <userdata>
  15. }
  16. (*temporary) = nil
  17. (*temporary) = <userdata>
  18. (*temporary) = "attempt to perform arithmetic on global 'SELF_NAMEPLATE_WIDTH' (a nil value)"
  Reply With Quote