Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
I played with these a while back and discovered that they "work" in Lua. By work I mean that you can change the value with player:SetPersonalityType(newLeaderID) and that value is gotten back out by GetPersonalityType() even after exit/reload. Contrary to the wiki, the value corresponds to Leader ID as does the civ4 method of the same name.
I'm still not a C++/dll programmer (though I will get to that eventually). Can anyone tell me if this is actually doing anything in the dll? Specifically, is it likely to change AI civ behavior to match the new Leader ID? (Doesn't affect UI, but that's not what I need.) I had tried judging from AI behavior in a game test, but that was a royal pain and kind of inconclusive.
I'm still not a C++/dll programmer (though I will get to that eventually). Can anyone tell me if this is actually doing anything in the dll? Specifically, is it likely to change AI civ behavior to match the new Leader ID? (Doesn't affect UI, but that's not what I need.) I had tried judging from AI behavior in a game test, but that was a royal pain and kind of inconclusive.