Discussions about Coding and Scripting
- Posts: 2644
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
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
- Posts: 6313
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
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.