how do I create a sprite by name?

Get help using Construct 2

Post » Sat Jun 08, 2013 8:41 pm

hello, how do I create a sprite by name?

I need to create a sprite using the box expressions, not selecting from the list.

Thank you.

sorry for bad english, i used the google translator.
B
4
Posts: 10
Reputation: 495

Post » Sat Jun 08, 2013 11:37 pm

Sorry, you can't.

Your options are to either test your variable as the condition for a bunch of spawn events with their own sprites; or work backwards and create all the objects, deleting those which you don't need.

I know the latter might seem daft, but I've found myself needing to do just that recently.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Sun Jun 09, 2013 3:17 pm

Ok, Thank you Geometrix.

Not there any plugin that does this?
B
4
Posts: 10
Reputation: 495

Post » Sun Jun 09, 2013 3:35 pm

Try the nickname plugin.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630


Return to How do I....?

Who is online

Users browsing this forum: mikewalton206, Rudi55 and 3 guests