Results 1 to 2 of 2

Thread: GetOffensivePower and GetRawOffensivePower Gone?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Basic Member
    Join Date
    Oct 2013
    Posts
    7

    Exclamation GetOffensivePower and GetRawOffensivePower Gone?

    Our code recently received these errors:

    [VScript] Script Runtime Error: ...ota\scripts\vscripts\bots\ability_item_usage_sp ectre.lua:82: This object has been deleted from C++ and no longer exists. (Use :IsNull() to detect this.)
    stack traceback:
    [C]: in function 'GetRawOffensivePower'
    ...ota\scripts\vscripts\bots\ability_item_usage_sp ectre.lua:82: in function <...ota\scripts\vscripts\bots\ability_item_usage_s pectre.lua:27>

    Are these gone forever or temporarily?

    Shall we update the wiki?

  2. #2
    Basic Member
    Join Date
    Oct 2016
    Posts
    247
    hi.
    i dont think that it is the function that is "deleted from C++".... probably the character, etc you were trying to check against it.

    i have gotten that message and simply applying the "IsNull()" check to the object in question fixes it. (although it doesnt seem to work when glimmer cape is deleted, just causes more errors.)

Posting Permissions

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