Page 1 of 1

AI not spawning [solved]

Posted: Thu Jun 26, 2014 3:03 pm
by ZoomV
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

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'

Re: AI not spawning

Posted: Thu Jun 26, 2014 5:42 pm
by [RDH]Zerted
At least one of your CP names is wrong. Depending on if you deleted the CP or renamed it, you'll have to remove or edit a couple lines in your lua file.