Mod:Creation Kit/Warning - Game

Member of: Mod:Creation Kit/Game Script

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

Syntax
Function Warning(string asMessage) native global betaOnly

Parameters

 * asMessage: The message to emit as a warning.

Return Value
None

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