void Update(now) { if (!active) return; if (duration > 0 and now - startTime >= duration) { active = false; Emit("OnParaExpired", this); } else { Emit("OnParaTick", this, now); } } } B. Savefile migration example (Python-like)
|
|
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
void Update(now) { if (!active) return; if (duration > 0 and now - startTime >= duration) { active = false; Emit("OnParaExpired", this); } else { Emit("OnParaTick", this, now); } } } B. Savefile migration example (Python-like)