Jump to content

Recommended Posts

Posted

I'm trying to track destroyed scenery in a mission. From an event I can get the ID only:

 

{[iniUnit]={[sceneryObject]={[id_]=130779223,},[ClassName]=SCENERY,[sceneryName]=130779223,},[initiator]=,[id]=8,[iniObjectCategory]=5,[iniUnitName]=130779223,[iniCategory]=4,[time]=28822.709,[iniTypeName]=SCENERY,[iniDCSUnit]=,[iniDCSUnitName]=130779223,}

 

 

 

 

So far I read that you can get a scenery object from world.search.objects. Unfortunately that requires a location, of which I don't know what it is, I need to come from the event data, which i'm saving then find the vec3 of the object.

 

 

How do I get the location (vec3) using just '130779223'?

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

  • Recently Browsing   0 members

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