Warning - Game

Member of: Game Script

Sends a warning to the Papyrus script log and the game's warning system.

SyntaxEdit

Function Warning(string asMessage) native global betaOnly

ParametersEdit

  • asMessage: The message to emit as a warning.

Return ValueEdit

None

ExamplesEdit

; Emit a warning if the script user didn't give us a target
if !Target
  Game.Warning(self + " has no target!")
endIf

See AlsoEdit