Is there angel script parameter to fix "Can't find unambiguous implicit conversion to make both expressions ..."

Started by
2 comments, last by UnickAngel 2 years, 1 month ago

Hello.

I updated AngelScript to last version. And I faced with error in my script. For example for this code:

_animSpeed = boolValue ? 2.0f : 1.0;

I get: “Can't find unambiguous implicit conversion to make both expressions have the same type”

I am searching engine property to fix this error, because I didn't get this error using previous version of AngleScript. Could somebody help me? Can I set float as default type for floating point types?

I know, what I can fix this error by using 1.0f, but that does not suit me.

Advertisement

This problem is fixed in the revision 2750. You can either apply that specific patch, or use the latest WIP to get that and other fixes too.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

@WitchLord, thanks so much.

This topic is closed to new replies.

Advertisement