Jump to content

Scripting error calling getPosition / getPoint on Oil Rig or Gas Platform statics


Recommended Posts

Posted

Oil Rig and Gas Platform static objects cause a scripting error when calling getPosition or getPoint.

E.g. in the attached mission we call event.initiator:getPoint when the Oil Rig is destroyed

Quote

Object doesn't exist

[...]

in Function 'getPoint'

Other static objects seem okay; I have only noticed the problem with the Gas Platform and Oil Rig static objects.

Also reproducible with the latest version of MIST, which calls getPosition whenever an object dies.

image.png

Oilrig_getPoint.miz

  • 1 month later...
  • 6 months later...
Posted

Encountering this error with static objects being used as external cargo (specifically with a spawned SO via mist and the Chinook). The cargo can be picked up, but once dropped/disconnected and it comes in contact with the ground it prompts this error. References a getPoint or getPosition via the event handler. 

  • Recently Browsing   0 members

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