AI not spawning [solved]
Posted: Thu Jun 26, 2014 3:03 pm
So I changed around some things with my map where now it loads all but one command post from the conquest layer, and then I have another layer that has the final command post. This is so I can have the last command post owned by locals in one era but not in the other.
However when I ran it, none of the units spawned. The locals spawned fine and I the player can spawn and run around and cap all of the command posts and spawn from them fine but no trace of AI.
The only error I could find in my BF2logfile that seemed possibly related was this
However when I ran it, none of the units spawned. The locals spawned fine and I the player can spawn and run around and cap all of the command posts and spawn from them fine but no trace of AI.
The only error I could find in my BF2logfile that seemed possibly related was this
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'