--********************************************************************************* -- タワー登頂(SFX用オブジェ) --********************************************************************************* LoadEventStdScriptFile( CURR_DLLUA_INSTANCE ); LoadMissionConstValueAuto( "260" ); ----------------------------------------------------------------------------------- -- 初期化 ----------------------------------------------------------------------------------- function Initial( eventOperation ) LogEvent( "■SFX用オブジェ:初期化開始" ); ON_RECIEVE_USER_MESSAGE( eventOperation, m260_CONST__CODE_ID_OF_USERMSG__SFX_CTRL , m260_CONST__MSG_ID_OF_USERMSG__SFX_START , m260_CONST__MSG_ID_OF_USERMSG__SFX_START , "OnSfxStart" ); LogEvent( "■SFX用オブジェ:初期化終了" ); end ----------------------------------------------------------------------------------- -- SFX再生開始メッセージ受信 ----------------------------------------------------------------------------------- function OnSfxStart( eventOperation ) LogEvent( "■SFX用オブジェ:SFX再生開始メッセージ受信" ); local ctrl = eventOperation:GetObjectEventInterface(); ctrl:SetCapEvent( m260_CONST__CAP_ID_OF_TURBINE ); end