Every time I try to play "The Secrets of Angel Forge", a persistent SCAR error keeps popping up. It just appears as the words "Fatal Scar Error - Execution Paused" in the centre of the screen.
I'm aware that modding Tarkus into termie armour screws up this level, but that isn't what's happening here. This error occurs at the very beginning of the mission, as the camera is initially following the Ork wartrukk. I am playing with modded files, but Tarkus and his squad are equipped with power armour.
I opened up the console, and this is what it said:
HintPoint_Remove: parameter is nil!
Squad* cannot be nil!
- FATAL SCAR Error! -
Invalid parameter 1 (type expected=Squad*, received=nil) in funtion Squad_SetPlayer_Owner
Lua AngelForge_ObjReliquary.scar Ln 681 (Reliquary_OrkRunner)
FATAL SCAR Error while running rules - Execution has been paused!
So, I extracted and opened the SCAR file in question ("Archives\simulation\scar\campaignmissions\angelforge_missiond2\angelforge_objreliquary.scar" to my knowledge), and line 681 is part of this code block (marked by "<<<"):
function Reliquary_OrkRunner ()
if Prox_SGroupSGroup (sg_hero2, sg_AllPlayerSquads, PROX_SHORTEST) <= 15 then
--~ Util_AutoIntel (t_Events.obj_Reliquary.OrkRunner)
g_TarkusOwner = (Squad_GetPlayerOwner (SGroup_GetSpawnedSquadAt (sg_hero2, 1)))
Squad_SetPlayerOwner (TarkusSquadID, SafePlayer (ScarGameBackend.GetPlayer(1))) <<<
SGroup_AddGroup (sg_AllPlayerSquads, sg_hero2)
SGroup_AddGroup (sg_allheroes, sg_hero2)
--~ Rule_AddOneShot (Eldar_SquadTabTarkus, 1)
So can anyone help me out? I can't even understand SCAR coding, much less edit it.
Thanks in advance!