--****************************************************************** --[[ @brief オブジェクトのイベントスクリプトテスト @date \$Date: Thu May 18 16:52:38 UTC+0900 2006 $ @author 長谷川 (\$Author: hasem $ @version \$Revision: 0 $ ]] --****************************************************************** LoadEventStdScriptFile( CURR_DLLUA_INSTANCE ); LoadMissionConstValueAuto( "710"); ----------------------------------------------------------------------------------- -- 初期化 ----------------------------------------------------------------------------------- --****************************************************************** -- メッセージハンドラの登録 --****************************************************************** function Initial( eventOperation) LogEvent( "オブジェクトのイベントスクリプトテストの初期化"); ON_BRIEFING_FINISH( eventOperation, "OnStartMission"); Tutorial_WalkTranslation_Forward( eventOperation, 100); eventOperation:AutoPilot(); end ----------------------------------------------------------------------------------- -- ハンドラ ----------------------------------------------------------------------------------- --****************************************************************** -- 自分がある領域に入ったか? --****************************************************************** function OnStartMission( eventOperation) local ctrl = eventOperation:GetCharaEventInterface(); Tutorial_WalkTranslation_Forward( eventOperation, 1000); eventOperation:AutoPilot(); end