I’ve got it working! Thanks! Oh man, this is gonna be FUN =D
Is there a way to get the player designation into the messages?
I tried this, which I got out of Main.lua and tryied to put into the Hiigaran aibuild just to see if I can get it to work:
local playerNameWH = Player_GetName(playerIndex)
stcgtrace("STCG-trace:This is from the hig aibuild function DetermineSpecialDemand_Hiigaran - the player is: "..playerNameWH.." ")
the function is stcgtrace just so I can keep my new stuff separate from the existing aitrace.
But I get this error in the HwRM file:
parameter: attempt to call global `Player_GetName’ (a nil value)
I kinda need to know who it is because the problem I’m having doesn’t affect all of the players; it’s usually just one guy in a game of 3 CPUs against 3 CPUs
Thanks again! I was trying to get that thing to work forever.