01-16-2013, 03:51 AM
what do i write for this?
asAtTargetCallback - function to call when player looks at target
this is the code i need to write it in.
void StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback);
void StopPlayerLookAt();
and this is what i have for it so far.
StartPlayerLookAt(string& mansion_door_1, 20, 20, string& asAtTargetCallback);
StopPlayerLookAt(3);
asAtTargetCallback - function to call when player looks at target
this is the code i need to write it in.
void StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback);
void StopPlayerLookAt();
and this is what i have for it so far.
StartPlayerLookAt(string& mansion_door_1, 20, 20, string& asAtTargetCallback);
StopPlayerLookAt(3);