Shared AI memory
Posted: 04 Jan 2006, 22:10
I noticed the CreateSharedMemArea function on the callback class...
how does it work? Can i store different data types in that area? anyone tried using it?
Because so far it seems pretty pointless since AIs can easily share variables (and probably arrays and pointers, havent tested that but im pretty confident it works), which works for speeding up things like loading/saving data (only 1 AI does it, checks flag) and sharing enemy and allied information.
If all that can already be done, without juggling about data in a limited, confusing thing why does that function exist?
how does it work? Can i store different data types in that area? anyone tried using it?
Because so far it seems pretty pointless since AIs can easily share variables (and probably arrays and pointers, havent tested that but im pretty confident it works), which works for speeding up things like loading/saving data (only 1 AI does it, checks flag) and sharing enemy and allied information.
If all that can already be done, without juggling about data in a limited, confusing thing why does that function exist?