Find an Object

Discussions about Coding and Scripting
Post Reply
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Find an Object

Post by Barbie »

To find an Actor it is possible to iterate over all Actors by "ForEach AllActors". But how to find an Object?

Background: to transfer data between independent packages, I create something like this in the one package:

Code: Select all

class WhatEver extends Object;

var PlayerPawn Player;
var int AnIntVariable;
var string AStringVariable;
and want to access this from another package.

Or is there even a simpler way to exchange data? (GetPropertyText() does not work because the relevant data are in an array.)
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Find an Object

Post by sektor2111 »

Except DynamicLoadObject which for me was not that helpful, I used XC iterator "foreach AllObjects" for figuring several loads... Either way this won't report "AllObjects" as I could figure (certain geometry data...), but I'm not sure if is easy to access everything or... I cannot figure how to do certain changes.
Post Reply