SetAIDamageThreshold issues
Posted: Sat Dec 21, 2013 2:03 pm
Hey guys. I'm trying to set the AI damage threshold for all active classes, but the game for whatever reason needs to have specific entities named. For example, when I use SetAIDamageThreshold("com_inf_default", 1.25), no changes really occur in-game and I get this in my debug log:
I really need to be able to set the player's AI damage threshold at the very least, but setting the GameObjectPtr (the first callback argument) to 0 returns the same thing as com_inf_default, so does anybody know how to set the AI damage threshold for all classes? Thanks. 
Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(635)
Entity "com_inf_default" not found