User Tools

Site Tools


4rpl:commands:msg_preupdate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:msg_preupdate [2021/02/13 15:13] – created virgilw4rpl:commands:msg_preupdate [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
 "MSG_PreUpdate" is a message that is automatically sent by the game before all of the units are updated. It is sent even when the game is paused. "MSG_PreUpdate" is a message that is automatically sent by the game before all of the units are updated. It is sent even when the game is paused.
  
 +The frame advance process is as followed:
 +  Loop 1, 2, or 4 times based on speed:
 +  {
 +    PreUpdate
 +    Units
 +    PostUpdate
 +    return to top of loop
 +  }
 +  FrameAdvance
 +  If high FPS is on, run FrameAdvance again for the interpolation frame
 +  Start next update
 +\\
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/msg_preupdate.1613229185.txt.gz · Last modified: 2025/02/14 14:56 (external edit)