Background for Fallout 4
Member of the Game script
voidfunctionWarning(stringasMessage)NativeGlobalBetaOnly

Description

Wiki Description

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

Documentation Comment

Issue a warning to the script log and warning system


Caveats


Parameters

stringasMessage

CK Wiki Description

The message to emit as a warning.


Examples

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

Auto-Generated Example

string myString__asMessage

Game.Warning(myString__asMessage)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.