Tony_PlySon

[LIB] doMoveCreatureInDirs(uid, dirs)

Apr 19th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function doMoveCreatureInDirs(uid, dirs)
  2. dirs = dir
  3.  
  4. for _, moves in ipairs(dir) do
  5.  
  6. addEvent(doMoveCreature, (dir - 1) * moves, uid, moves)
  7. end
  8. return true
  9. end
Advertisement
Add Comment
Please, Sign In to add comment