TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
Books & Courses
FORUMS
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Chat
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Extensions
→
Extension Ideas
→
Get actor by name [IDEA]
Pages:
1
Get actor by name [IDEA]
1MrPaul1
Posts: 1285
January 20, 2014, 01:23:56 am
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: 9472
January 20, 2014, 05:23:57 am
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).
https://twitter.com/Rob1221dev
1MrPaul1
Posts: 1285
January 20, 2014, 07:47:56 am
I attached a screenshot with he block, but, anyway global custom blocks not compiling for mobile, or not?
rob1221
Posts: 9472
January 20, 2014, 07:49:12 am
Delete that semicolon. The return block already includes it.
https://twitter.com/Rob1221dev
1MrPaul1
Posts: 1285
January 20, 2014, 10:11:19 pm
What is semicolon?
rob1221
Posts: 9472
January 20, 2014, 10:18:50 pm
;
https://twitter.com/Rob1221dev
1MrPaul1
Posts: 1285
January 20, 2014, 10:32:35 pm
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: 9472
January 20, 2014, 11:07:50 pm
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).
https://twitter.com/Rob1221dev
1MrPaul1
Posts: 1285
January 21, 2014, 08:01:17 pm
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.
Pages:
1