Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10501 in orxonox.OLD for trunk/src/world_entities/npcs


Ignore:
Timestamp:
Jan 30, 2007, 3:59:55 PM (18 years ago)
Author:
snellen
Message:

added method hide and unhide as scriptable to npc, small patch by lieni in billboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/npc.cc

    r10499 r10501  
    6565                        ->addMethod("fire", Executor0<NPC, lua_State*>(&NPC::fire))
    6666                        ->addMethod("pause", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::pauseTrack))
     67                        ->addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide))
     68                        ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide))
    6769                       );
    6870
Note: See TracChangeset for help on using the changeset viewer.