From SRB2 Wiki
Jump to navigation Jump to search

A_SetTics is an action that sets the duration of the calling state. Var1 determines the number of tics the state lasts for. You can also set it to 0 and set Var2 to use the actor's threshold value. It can be useful for overriding the auto-adjusting of the player's walking/running/rolling/falling animation durations based on speed, but otherwise it is normally useless for custom SOCs unless forced on the actor via A_RemoteAction. In SRB2, the Pop-up Turret uses this action to set the delay between each time it pops up to fire a bullet at the player, its threshold value being determined by the angle set when placed on the map. This action is also used by A_RockSpawn to determine the time in tics it takes to spawn a rock.

  Actions – Property modifiers [view]