had a look, and it would need a new network message (eg NETMSG_AISETSHARE), for the same reason we already have a NETMSGAISHARE. the normal SETSHARE uses myPlayerNum, and so only works for players, not AIs. of course this is some ugly internal sturcture.. we should have AI and player share a common parent class in lots of places... in short: not very easy :/
Thanks. Is there no mistake: spring_0.82.3-252-g1f664b6.exe ? It's 0.82.3 in the name, not 0.82.5.
PS. Also i do not see a function which can enumerate all teams in the game. Am i right that it is normal that i should get all units at game start then use GetUnitTeam() for each one? It is suitable for beginning of the game, not mid-game join.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum