OverrideActorSwimBreath

From the Oblivion ConstructionSet Wiki
Revision as of 11:20, 22 December 2020 by imported>QQuix (New OBSE 21 function.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) reference.OverrideActorSwimBreath override:int

Overrides the swimming breath behaviour (see Notes) of the calling high process actor. Overridden actors will revert to their normal behaviour when they leave the high process AI processing band.


Notes

Swimming Breath Behaviour Overrides

  • 1: CanBreath - forces the game to think the actor can breath, no other changes so standard behaviour of setting 'curBreath' to 'maxBreath' applies
  • 2: NoBreath - forces the game to think the actor cannot breath, no other changes so standard behaviour applies
  • 3: NoTick - stops the game from changing 'curBreath' each frame (when underwater) but still causes health damage when 'curBreath' is set below 0
  • 4: SkipBreath - completely skips breath level checking (BreathMenu not included)
  • 5: SkipBreath2 - completely skips breath level checking (BreathMenu included)


See Also[edit | edit source]