Skip to content

Referencing blueprint objects #100

Answered by nxrighthere
dagillespie asked this question in Help
Discussion options

You must be logged in to vote

Is there a way to implement World.GetActor("optionalName")? It seems that even if you specify as class (of which MyBPClass derives), it still results in a null? Current workaround is using tags World.GetActorByTag("tagName")

You have to use the real name of the actor, but not the label from the editor to do this.

Also is there any reason why actor.GetText() is present but Actor.GetString() isn't right now? Is that an active design choice or is it on the backlog?

Blueprints have only the text data type from what I see in the editor and native API.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dagillespie
Comment options

@nxrighthere
Comment options

Answer selected by nxrighthere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants