Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My grunt hallucination is turned completely around and isn't running towards me
ironman0001 Offline
Member

Posts: 53
Threads: 8
Joined: Sep 2012
Reputation: 0
#11
RE: My grunt hallucination is turned completely around and isn't running towards me

(10-01-2012, 07:53 PM)ironman0001 Wrote:
(10-01-2012, 07:43 PM)Nemet Robert Wrote: With a script?

Use this function:

void StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback);
void StopPlayerLookAt();
Forces the player to look at a certain entity until StopPlayerLookAt is used.
asEntityName - the entity to look at
afSpeedMul - how fast should the player look at the entity
afMaxSpeed - maximum speed allowed
asAtTargetCallback - function to call when player looks at target
And is there a way to make an enemy just stand without attacking?
And one more thing! How do i make a player crouch as soon as the game starts?
10-01-2012, 07:59 PM
Find


Messages In This Thread
RE: My grunt hallucination is turned completely around and isn't running towards me - by ironman0001 - 10-01-2012, 07:59 PM



Users browsing this thread: 1 Guest(s)