Jump to content
Aveyond Studios Community
Duffer123

Requested HeroActions - Conversions Int to Float, Float to Int, Int/Float to String etc. etc. [Now created in Your Actions section]

Recommended Posts

@Ant,

It would be great to have some tidy Convert HeroActions in to the mix:-

- Convert Integer (to Float);

- Convert Float (to Integer);

- Convert Float (to String);

- Convert String (to Float);

- Convert Integer (to String);

- Convert String (to Integer);

- Convert Integer (to Colour);     // assuming we might get a Colour variable //

- Convert Colour (to Integer);     // assuming we might get a Colour variable //

- Convert Bool (to String 01);     // so if bool is 0 then string is '0', if bool is 1 string is '1' //

- Convert Bool (to String OnOff);     // so if bool is 0 then string is 'off', if bool is 1 string is 'on' //

- Convert Bool (to String YesNo);     // so if bool is 0 then string is 'yes', if bool is 1 string is 'no' //

[edit] 08-10-2017

I have now (I hope) created all of these custom HeroActions.  See the attached and then this link:- http://aveyond.com/forums/index.php?/topic/19042-variable-conversion-heroactions/

 

HeroKit Actions - Conversion Actions - v1.0.unitypackage

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×