A_SentinelBob

From ZDoom Wiki
Jump to: navigation, search

A_SentinelBob

(no parameters)


Makes the object bob. This function has to be called repeatedly in a loop for a permanent effect. The effect of this function is not the same as using the FLOATBOB flag.

Examples

For an example how this works it is best to look at Strife's Sentinel:

ACTOR Sentinel 3006
{
  [...]
  States
  {
  [...]
  See:
    SEWR A 6 A_SentinelBob
    SEWR A 6 A_Chase
    Loop
  [...]
  }
}