Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int en_get_state( lua_State* L )
- {
- if( lua_gettop( L ) != 1 )
- return 0;
- CHEnemy* en = (CHEnemy*) g_pEntityManager->GetEntity( lua_tostring( L, 1 ) );
- if( !en ) return 0;
- lua_pushstring( L, eha_action_names[ (u32) en->m_eAction ] );
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement