Advertisement
Guest User

Untitled

a guest
Jun 17th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NOTE: This is in UpdateActorInstances() form client.bb . This is how he moves Up or down.
  2. NOTE : When I moved the Player client AND then told others the timing was WAY off. SO I just move him the same way as everyone else.              
  3.                 ;Ladder climb
  4.                 If AI\Attributes\Value[16]>0 And AI <> Me              
  5.                     YPos# = CurveValue(EntityY#(AI\CollisionEN), AI\AIY#, 7.0)
  6.                     PositionEntity(AI\CollisionEN, EntityX#(AI\CollisionEN), YPos#, EntityZ#(AI\CollisionEN))                
  7.                     If AI\Attributes\Value[16]=2 Then MoveEntity(AI\CollisionEN, 0.0, 0.20, 0.0)
  8.                     If AI\Attributes\Value[16]=3 Then MoveEntity(AI\CollisionEN, 0.0, -0.20, 0.0)
  9.                 EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement