06-28-2011, 05:28 PM
This might be a stupid question but anyhow. So this is my script and I would really appreciate some help:
Everything works fine but the chandeliers get "stuck" at the z every now and then, i.e they don't return to their 0, 0, 0 xyz positions. Any idea what to do?
Code:
void Shut(string &in asTimer)
{
AddPropImpulse("chandelier_simple_2", 0, 0, 0.9f, "world");
AddPropImpulse("chandelier_simple_3", 0, 0, 0.7f, "world");
AddPropImpulse("mansion_3", 0, 0, 4.0f, "world");
AddTimer("", 2.5f, "Doorlock");
}