01-08-2011, 01:21 PM
Hey soory to ask againf or help.. I'm such a noob.. yeah but i started three days ago with teh editor so..
I have a key. when it's picked up i want something to happen.
This is my script for this so far:
I hope someoen can help me^^
I have a key. when it's picked up i want something to happen.
This is my script for this so far:
Code:
SetEntityPlayerInteractCallback("cellarkey2", "fear1", true);
void fear1(string &in asParent, string &in asChild, int alState)
{
SetLampLit("torch_static01_5", false, true);
SetLampLit("torch_static01_6", false, true);
SetLightVisible("PointLight_11", false);
GiveSanityDamage(20.0f, true);
}
I hope someoen can help me^^