jonassvensson4

Untitled

Mar 8th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. SetEntityHeading(ob1, 40.0)
  2. SetEntityDynamic(ob1, true)
  3. SetEntityRecordsCollisions(ob1, true)
  4. SetEntityHasGravity(ob1, true)
  5. FreezeEntityPosition(ob1, false)
  6. SetEntityVelocity(ob1, 0.0, 0.0, -0.2)
  7.  
  8. ob1.. ob2... osv
  9.  
  10. -- Testade det här
  11. for i=2,1,-1 do
  12.                 SetEntityHeading(obi, 40.0)
  13.                 SetEntityDynamic(obi, true)
  14.                 SetEntityRecordsCollisions(obi, true)
  15.                 SetEntityHasGravity(obi, true)
  16.                 FreezeEntityPosition(obi, false)
  17.                 SetEntityVelocity(obi, 0.0, 0.0, -0.2)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment