home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / Script / Source / testevent.sma < prev    next >
Text File  |  2005-03-11  |  471b  |  25 lines

  1. #include "script.inc"
  2.  
  3.  
  4.  
  5. public main() // A palya belepesi pontja, helyette a PostGameStart fuggvenyt hasznald
  6.     CommonAKMain();
  7.  
  8.  
  9.  
  10. public PostGameStart()
  11. {
  12.     CommonAKInit();
  13.      AddAKEntityEvent( "TestEventHandler", ANY_ENTITY, TEST_EVENT );
  14. }
  15.  
  16.  
  17.  
  18. public TestEventHandler()
  19. {
  20.     DebugMessage( "TestEvent", DL_MESSAGE );
  21.     CmdTurnToDir( GetEntity( "ax_m11-391"), Q_OVERRIDE, GetEntityDir( GetEntity( "ax_pzive1" )));
  22.     RotateCameraToEnt( "ax_pzive1" );
  23. }
  24.  
  25.