Version 1.5.0 [PRO]
It is now possible to set conditions for activating an event on mouse hover, on click, and for custom cursors.
Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.
Example: to activate the event on click, the condition is set that the click will work if switch 1 is on:
<click_activate>
$gameSwitches.value(1)
</click_activate>
Example: to trigger the mouseover event, the condition is set that the mouseover will work if switch 1 is on:
<hover_activate>
$gameSwitches.value(1)
</hover_activate>
Example: for custom cursor set to condition that it will be displayed if switch 1 is on:
<custom_cursor: filename>
$gameSwitches.value(1)
</custom_cursor>
You can combine several of these comments to customize different data for different conditions.
If you specify several of these settings, then the very first one that satisfies the condition will be used!
Version 1.4.0 [PRO]
Became possible to set conditions for display text, images using Javascript, which are checked during mouse hover.
Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.
Example: for the image, the condition is set that it will be displayed if the variable 1 is equal to 5:
<hover_image: Actor1_2>
$gameVariables.value(1) === 5
</hover_image>
Example: for the text, the condition is set that it will be displayed if switch 1 is on:
<hover_text: Text>
$gameSwitches.value(1)
</hover_text>
You can combine several of these comments to customize different data for different conditions.
If you specify several of these settings, then the very first one that satisfies the condition will be used!
Version 1.3.0 [PRO]
Became possible to set conditions for display using Javascript, which are checked during mouse hover.
Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.
Example: for icon 10, the condition is set that it will be displayed when switch 1 is on:
<hover_icon: 10>
$gameSwitches.value(1)
</hover_icon>
Example: for a window the condition is set that it will be displayed if the variable 1 is greater than 10:
<hover_window: [100|72|Text]>
$gameVariables.value(1) > 10
</hover_window>
You can combine several of these comments to customize different data for different conditions.
If you specify several of these settings, then the very first one that satisfies the condition will be used!
You must be logged in to post a comment.