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
Script Help Simulate the player being dragged ?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#10
RE: Simulate the player being dragged ?

I think you're better to just place a ScriptArea above you, and;

PHP Code: (Select All)
void StartPlayerLookAt(stringasEntityNamefloat afSpeedMulfloat afMaxSpeedstringasAtTargetCallback); 
Where:
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

You will have to declare a StopPlayerLookAt() at some point if you use this Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
03-25-2014, 07:33 AM
Find


Messages In This Thread
RE: Simulate the player being dragged ? - by Romulator - 03-25-2014, 07:33 AM



Users browsing this thread: 1 Guest(s)