This path could look like this:
Code:
vCTF-Sanstorm.TheWorld:PersistentLevel.MyActor_0
Code:
vCTF-Sanstorm TheWorld PersistentLevel
My current method to retrieve the full path is the following:
Code:
/** @return the full path of the Spawned Actor or the created object */ static final function string GetFullPath(Object O) { local string ret; while (O != none) { ret = O.Name $ ret; if (O.Outer != none) ret = (O.Name == 'PersistentLevel' ? ":" : ".") $ ret; O = O.Outer; } return ret; }
Are these paths valid?
Code:
vCTF-Sanstorm.TheWorld:PersistentLevel.MyActor_0 vCTF-Sanstorm.TheWorld:MyActor_0 vCTF-Sanstorm.TheWorld:AnyNameOfAStreamedLevel.MyActor_0
Before you ask, I need to have a absolute reference to any object/actor to be able to use the FindObject() method.
Code:
local Object obj; // For Actor or Object obj = FindObject(fullname, class'Object);