Get actor by name [IDEA]

1MrPaul1

  • *
  • Posts: 1268
Many people here makes a great complex extensions, and i just wonder, can someone make an extension that will convert text into actor type attribute?

It is very useful thing for every developer.

In S2 i used one simple global custom block for this but now it is not working. 

« Last Edit: March 24, 2014, 11:15:12 am by Jon »

rob1221

  • *
  • Posts: 9421
What does the custom block look like?  I thought that code still worked in 3.0 (unless you used the Obj-C version with different syntax).

1MrPaul1

  • *
  • Posts: 1268
I attached a screenshot with he block, but, anyway global custom blocks not compiling for mobile, or not?

rob1221

  • *
  • Posts: 9421
Delete that semicolon.  The return block already includes it.

1MrPaul1

  • *
  • Posts: 1268
What is semicolon?


1MrPaul1

  • *
  • Posts: 1268
Oh, I tried, i even deleted one _ before the name, and made other manipulations but it is not working anyway.
And as i said, even simple return text also not compiling on mobile.
This is why i need this kind of extension

rob1221

  • *
  • Posts: 9421
Ah I overlooked the fact that you mentioned it's a global block.  You have to use a regular custom block for that function (because it's not static).

1MrPaul1

  • *
  • Posts: 1268
It works as regular custom block. Thank you!
but anyway, if somebody will have spare time, please make it as extension for more comfortable use.