定義済みのプロパティを使用してイベントをハイライト表示するプラグイン – SRCrazy_EventHighlight.js

タイトル
Highlights events using their defined properties
作者名
ヘルプ
パラメータ
param Duration
desc How long it takes for the highlight to fade away
default: 60
default 60

param Use Seconds
desc Tells plugin to use seconds (instead of frames) for Duration
default: false
default false

help============================================================================ S_Rank_Crazy's Event Highlighting
============================================================================
This plugin provides functionality to highlight events (or groups of them)
using event-specific colour/grouping values.

Requires SRCrazy_Core plugin.

This plugin should be placed below the SRCrazy Core plugin in the Plugin
Manager. If you're using the MVCommons or PluginManagement plugins then
any dependency issues will be output as errors when the game loads.

All SRCrazy plugins are rename safe - you can rename the file and it'll still
work. All parameters and commands are case-safe (no need to worry about
case-sensitive input) unless specifically stated. This doesn't include
Comment Tags or file names/paths; they are still case sensitive.

MVCommons supported but not required for use.


============================================================================
FEATURES

Show a fading colour over an event sprite to make it stand out!
Specify colours for the highlight of an event
Group events in order to highlight related events
Give groups their own overriding colour and/or duration
Use frames or seconds to manage the duration


============================================================================
PLUGIN COMMANDS

If this plugin is active you can use the following commands:

SRCrazy_EventHighlight event [group]
Highlights all valid events (or specified group)

eventhighlight [group]
Shorthand of above plugin command

SRCrazy_EventHighlight group red,green,blue,grey [duration]
Creates/updates a highlight group's definition

grouphighlight group red,green,blue,grey [duration]
Shorthand of above plugin command

SRCrazy_EventHighlight setgroup eventId group
Assigns the specified event to the supplied group (removes from previous
group

sethighlightgroup eventId group
Shorthand of above plugin command


============================================================================
COMMENT TAGS

The following tags can be used to customise an event's highlight colour and
group name. To use, add to a COMMENT in an event's page where you want those
settings to be applied.

<eventHighlight: [group] [red,green,blue,grey]>
Sets the colour of the highlight for the event.

group - Optional. The highlighting group this event belongs to.

Highlight colour (optional if using group highlight)
red - The red value to use for the tint (-255 - 255)
green - The red value to use for the tint (-255 - 255)
blue - The red value to use for the tint (-255 - 255)
grey - The red value to use for the tint (0 - 255)

Eg:
<eventHighlight: 255,0,0,0>
Sets the events highlight colour to red

<eventHighlight: item>
Sets the events group to "item", relies on a group definition being set
using the grouphighlight Plugin Command

<eventHighlight: item 255,0,0,0>
Sets the events highlight colour to red and adds to the group "item"


============================================================================
ライセンス表記
No personal credit required, but always appreciated.
Free for personal and commercial use.

紹介ページ https://github.com/agent-bizzle/rmmv-plugins/blob/master/legacy/SRCrazy_EventHighlight.js