Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I know you can do something like this ...
if Cats.AnimationName & "1" ... do something
is there a way I can check for Animation Name minus a character? For example ...
if Cats.AnimationName - "b" ... do something
Thank you heaps in advance!
This will give you animation name without the last character:
If you know the string length, you can use fixed number:
Develop games in your browser. Powerful, performant & highly capable.
dop2000 - Thank you, you're a legend! It works perfectly :)
There is also replace or regexreplace expressions if you need something gone from the middle of a string. Just replace whatever with an empty string.
WackyToaster Thanks! I'll have a good look at that as well, I'm sure it will be useful :)