DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Stop()

proto void Stop ( )

Stops all elements this effect consists of.

Заметки
Alternatively use SEffectManager.Stop( effect_id )

Stops all elements this effect consists of.

См. определение в файле Effect.c строка 181

182 {
183 // It is not playing!
184 if (!IsPlaying())
185 return;
186
188 // Yes, that event is new, but let's keep up some consistency
189 Event_OnStopped.Invoke(this);
190 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Определения Effect.c:195
ref ScriptInvoker Event_OnStopped
Event used when Stop was called.
Определения Effect.c:23

Перекрестные ссылки CALL_CATEGORY_GAMEPLAY, Event_OnStopped, CGame::GetCallQueue(), GetGame(), IsPlaying(), m_CommandSync, m_CurrentState, m_SoundSetCallback, m_time, Process(), ScriptCallQueue::RemoveByName() и SetRunning().

Используется в Destroy(), UIScriptedMenu::OnClick(), UIScriptedMenu::OnKeyPress(), PPERequester_GameplayBase::OnUpdate(), UIScriptedMenu::Update(), UIScriptedMenu::~CameraToolsMenu() и ~Effect().