most weird error message ever
OK, i was trying out some new big scripts and then came this:
FATAL ERROR: Could not load script file 'custom...'!
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,2):ERR : Expected expression value
ExecuteString(1,1):ERR : No matching signatures to 'OnLeave()'
main(10,2):ERR : No matching signatures to 'PlaySound(string@&,string@&,string@&, const unit, const
*7 chinese sings*
WHAT THE HELL?
my scriptfile is:
void OnStart()
{
PlayMusic("16_amb.ogg", true, 1.0f, 5, 1, true);
SetPlayerCrouching(false);
SetPlayerActive(true);
SetLanternActive(false, true);
SetPlayerHealth(100);
SetPlayerSanity(100);
SetPlayerLampOil(100);
PlaySound("", "react_sigh", "Player", 0, false);
SetEntityPlayerInteractCallback("orb_ball_obj", 1.0f, "ObjFunc");
}
void OrbFunc(string &in asEntity)
{
AddPropHealth("chest_small_1", 0.0f);
AddPropImpulse("sklave_obj" 5, 0, 0, "world");
SetEntityActive("armor_4", true);
SetEntityActive("armor_3", true);
SetEntityActive("armour_nice_complete_1", true);
SetMoveObjectState("armour_nice_complete_1", 6.0f);
SetEntityActive("deformed_man_1", true);
SetEntityActive("deformed_man_2", true);
SetEntityActive("rude_man_chains_statue_1", true);
SetEntityActive("rude_man_chains_statue_2", true);
PlaySoundAtEntity("thunderboo", "general_thunder03.ogg", "Player", 0, false);
StartPlayerLookAt("armour_nice_complete_1", 10.0f, 22.3f, "");
AddTimer("lookat_timer_func", 1.0f, "stop_p_lookat");
SetLightVisible("redlight_obj", true);
StartScreenShake(0.01f,0.25f, 0.01f,0.5f);
StartEffectFlash(4.0f, 3.0f, 0.7f);
}
void stop_p_lookat(string &in asTimer)
{
SetLightVisible("redlight_obj", false);
StopPlayerLookAt();
PlaySoundAtEntity("react_sigh02.ogg", "react_sigh04.ogg", "Player", 0, false);
AddQuest("Weird Ball", "findoutwhatis");
}
and my e_e.lang is:
<LANGUAGE>
...
...
...
<CATEGORY Name="Journal">
<Entry Name="findoutwhatis_Text">Find out for what this weird ball usable is.</Entry>
</CATEGORY>
...
...
...
</LANGUAGE>
what means the err message?
(This post was last modified: 04-27-2012, 09:58 PM by P44RTHURN4X.)
|