02-21-2011, 05:23 PM
my script doesnt work :S instead of an area could it be an object to, like a corpse?
script :
void Onstart()
{
StartPlayerLookAt("ritual_prisoner_1", 2, 2, "");
AddTimer("Donelook", 2.5f, "TimerDoneLookAt");
}
void TimerDoneLookAt(string &in asTimer)
{
StopPlayerLookAt();
}
but when i start the game, the player doesnt look. and i was wondering if i didnt need area to active this script? like if i'm at x position StartPlayerLookAt is true.
script :
void Onstart()
{
StartPlayerLookAt("ritual_prisoner_1", 2, 2, "");
AddTimer("Donelook", 2.5f, "TimerDoneLookAt");
}
void TimerDoneLookAt(string &in asTimer)
{
StopPlayerLookAt();
}
but when i start the game, the player doesnt look. and i was wondering if i didnt need area to active this script? like if i'm at x position StartPlayerLookAt is true.