Skip to main content
GameDev.net gamedev.net
🔒 Locked

asBEHAVE_ASSIGNMENT is missing

Started by MahanGM Aug 12, 2014 at 10:46 PM 1 replies 1.7k views
Original Post
MahanGM
MahanGM

I was using angelscript version 2.23.1 and I had this problem when I wanted to register assignment behavior for one of my value types. I downloaded the 2.29.1 version and I still have the same problem. I've checked angelscript header file and this label is just not there.

WitchLord
WitchLord

asBEHAVE_ASSIGNMENT was removed years ago, officially deprecated in version 2.17.0 in late 2009. rolleyes.gif

The assignment operator as well as the other operators should be registered as normal object methods with specific names so the compiler can find them, e.g. opAssign.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
MahanGM
MahanGM

Oh, I'm sorry. Thanks for the response.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.