🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
AngelScript modifying wrong address.
r = engine->RegisterObjectProperty("Sprite","bool stopmovement",offsetof(ActorProperty,hitpoints));assert(r>=0);
r = engine->RegisterObjectProperty("Sprite","bool waytowalk",offsetof(ActorProperty,waytowalk));assert(r>=0);
r = engine->RegisterObjectProperty("Sprite","bool visible",offsetof(ActorProperty,visible));assert(r>=0);
The problem that i am having is that when i modify stopmovement, for whatever reason angelscript goes and modify waytowalk. Do u know why would that be the case.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement