Store part of an Animation name on a Variable

Get help using Construct 2

Post » Wed Feb 01, 2012 7:43 pm

I've got all my items on a single Object. Each item being an Animation. They're called "item1", "item2" and so on.

I'd like to know how to store on a variable only the number part of the Animation name.

Basically, is there a way to store a value and discard part of it?
B
7
S
2
G
2
Posts: 25
Reputation: 1,910

Post » Wed Feb 01, 2012 7:53 pm

This post HERE from Yann has an example .capx that might be similar to what you're looking for, or at least point you in the right direction.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,557
Reputation: 60,458

Post » Wed Feb 01, 2012 8:47 pm

The diabloLikeMov.capx zenox's link refers to is this one diabloLikeMov.capx
B
68
S
22
G
14
Posts: 1,485
Reputation: 16,561


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests