PluginName: SDJB_WarningAlert
Author: ShadowDragon
Use a warning alert, you can create as many are needed, each with its
own color, time length, text, and more.
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
(it require my base plugin (SDJB_Base) MV ONLY!
Download from itch.io
Author: ShadowDragon
Use a warning alert, you can create as many are needed, each with its
own color, time length, text, and more.
Code:
How it works
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
WARNING: First entry name MUST be "Default", you may configure this
in any way as you like, the Name cannot!
Run a simple Scriptcall which can be on 3 different ways.
CallWarning(); //=> Uses "Default"
CallWarning(1); //=> Uses Index Id entry
CallWarning("Default"); //=> Uses named entry
You can set this below the scriptcall to avoid walking:
this._waitMode = "warning";
Once the warning is over, the player is allowed to walk.
Parameters
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Warning List:
Name: => set the name to be used to call if desired
Warn Setting: => set the config for this Name.
Warn Setting:
Text Color: => set the color of the warning and SubText
Main Title: => set the title, (best between 8 and 14 characters).
Main BG Color: => set the background color for the main title
Top Line Color: => set the top line color that shrink down.
Sub Text: => set the sub text, that is on the bottom
Sub BG Color: => set the sub text background color
Bottom Line Color:=> set the sub text line color that shrink down
Timer: => set timer in frames (60 frames = 1 second)
Sound Settings: => set the sound File, Volume, Pitch and Pan.
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
(it require my base plugin (SDJB_Base) MV ONLY!
Download from itch.io