Advertisement
epitaque_

Untitled

Oct 11th, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. modifier_flying_lua = class({})
  2. LinkLuaModifier("modifier_flying_lua", "modifiers/modifier_flying_lua", LUA_MODIFIER_MOTION_NONE)
  3.  
  4. function modifier_flying_lua:CheckState()
  5.     local state = {
  6.         [MODIFIER_STATE_FLYING] = true,
  7.         [MODIFIER_STATE_FLYING_FOR_PATHING_PURPOSES_ONLY] = true,
  8.     }
  9.  
  10.     return state
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement