View Full Version : Have you seen this SCAR error?
1st Aug 07, 11:55 AM
Everybody encounter this error? I don't know what does it mean.
FATAL SCAR ERROR: EGroup_GetSpawnedEntityAt: Invalid Spawned EntityGroupObs index 30
1st Aug 07, 12:16 PM
Which mod/map is this?
1st Aug 07, 12:21 PM
My mod, my scar scripts. The strange that this error only occour on some usermade maps (COH official campaign map which converted to skirmish maps). Other skirmish maps run fine.
1st Aug 07, 12:35 PM
Well, without seeing the SCAR script in question, it's rather harder to diagnose the problem.
1st Aug 07, 1:06 PM
Here is a portion from the script
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
if i == 1 and Player_IsAlive(player) then
if EGroup_Count(eg_fhq1) == 0 then
for j = 1, EGroup_Count(eg_neutral) do
EGroup_Add(eg_temp, EGroup_GetSpawnedEntityAt(eg_neutral, j))
if EGroup_HasUpgrade(eg_temp, UPG.CONVERT_AMBIENT_BUILDING, ANY) then
EGroup_Add(eg_fhq1, EGroup_GetSpawnedEntityAt(eg_neutral, j))
Util_CreateEntitiesAtMarker(player, eg_fhq, FORWARD_HQ, EGroup_GetPosition(eg_temp), 1)
Player_SetUpgradeAvailability(player, UPG.CONVERT_AMBIENT_BUILDING, ITEM_LOCKED)
As I said script works fine. Just some reason on those map got error. I just need the meaning of this error message. If you know.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.