Jump to content

Getting an Object Reference from a Spawned Static


StuykGaming

Recommended Posts

Is it possible or am I totally tripping.

 

So let's say I spawn an object from a form.

Static MyObject = StructureList.GetAt(iIndex) as Static
Grid001.PlaceAtMe(MyObject)

Okay so now I have this object and it's there and it's being awesome.

 

Now how the f do I get this object and add it to my lovely Array.

 

Just so I can disable it along with everything else all at once.

 

so it'd be something like...

Static MyObject = StructureList.GetAt(iIndex) as Static
Grid001.PlaceAtMe(MyObject)

SpawnedObjectsArray.Add(MyObject).PAPYRUS DOES NOT LIKE THIS

Anyway, if someone has a little guidance. I'd appreciate it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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