The basic scenario is that I have a unit and I want to get the string/game link for its model.
My idea was as follows: get the actor from the unit, then get the actor's ID, then use Catalog to get the "Model" field from the actor object.
The problem I have is getting the actor's ID. I have the actual actor object using Get Actor for Unit, but I can't seem to find any way to get the ID. Is this possible, or is there a better overall approach?
Are you trying to do this via the object editor or are you doing this procedurally?
If you're trying to do it procedurally I haven't done specifically what you are doing, but there is a "Convert Gamelink to String" function.
Maybe to specify what you want... why do you need to specifically know the object's model's name?
Do you want the static model's name, or one of the animations, or it's portrait, or what?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The basic scenario is that I have a unit and I want to get the string/game link for its model.
My idea was as follows: get the actor from the unit, then get the actor's ID, then use Catalog to get the "Model" field from the actor object.
The problem I have is getting the actor's ID. I have the actual actor object using Get Actor for Unit, but I can't seem to find any way to get the ID. Is this possible, or is there a better overall approach?
I want to know how to get the unit id of a triggering unit, too.
Are you trying to do this via the object editor or are you doing this procedurally? If you're trying to do it procedurally I haven't done specifically what you are doing, but there is a "Convert Gamelink to String" function.
Maybe to specify what you want... why do you need to specifically know the object's model's name? Do you want the static model's name, or one of the animations, or it's portrait, or what?