Screenshots


help would be greatly appreciated, i haven't been able to figure it out looking at other plugins or looking it up.


(function() {
"use strict";
// Stuff here will run on game start, when index.html loads.
var params = PluginManager.parameters('ReFraction Battle Index and element calculations');
// Other parameter stuff here...
// Define a global function (contents are not immediately invoked).
calculateVariables = function() {
// the code in here will run when this function is called
$gameVariables.setValue(92, 1);
console.log('Variable 92 = 1.');
};
})();◆Script:calculateVariables();(function() {
"use strict";
// Stuff here will run on game start, when index.html loads.
var params = PluginManager.parameters('ReFraction Battle Index and element calculations');
// Other parameter stuff here...
// Define a global function (contents are not immediately invoked).
calculateVariables = function() {
// the code in here will run when this function is called
$gameVariables.setValue(92, 1);
console.log('Variable 92 = 1.');
};
})();◆Script:calculateVariables();var Poppie = Poppie || {}; // namespace for your plugins, equal to itself if already defined or an empty object otherwise
Poppie.eleCalc = {}; // namespace for persistent properties of this plugin
(function($) { // add parameter $ to represent the plugin namespace (see final line)
"use strict";
// Stuff here will run on game start, when index.html loads.
var params = PluginManager.parameters('ReFraction Battle Index and element calculations');
// define persistent stuff as properties of the namespace, e.g.
$.test = params['test number to display'];
// Other parameter stuff here...
// Define a function on your global namespace.
$.calculateVariables = function() {
// the code in here will run when this function is called
$gameVariables.setValue(5, 1);
console.log('Variable 5 =', $gameVariables.value(5));
};
})(Poppie.eleCalc); // pass the plugin's namespace in as the first parameter, $◆Script:Poppie.eleCalc.calculateVariables();var Poppie = Poppie || {}; // namespace for your plugins, equal to itself if already defined or an empty object otherwise
Poppie.eleCalc = {}; // namespace for persistent properties of this plugin
(function($) { // add parameter $ to represent the plugin namespace (see final line)
"use strict";
// Stuff here will run on game start, when index.html loads.
var params = PluginManager.parameters('ReFraction Battle Index and element calculations');
// define persistent stuff as properties of the namespace, e.g.
$.test = params['test number to display'];
// Other parameter stuff here...
// Define a function on your global namespace.
$.calculateVariables = function() {
// the code in here will run when this function is called
$gameVariables.setValue(5, 1);
console.log('Variable 5 =', $gameVariables.value(5));
};
})(Poppie.eleCalc); // pass the plugin's namespace in as the first parameter, $◆Script:Poppie.eleCalc.calculateVariables();

var Poppie = Poppie || {}; // namespace for your plugins, equal to itself if already defined or an empty object otherwise
Poppie.eleCalc = {}; // namespace for persistent properties of this plugin
(function($) { // add parameter $ to represent the plugin namespace (see final line)
"use strict";
// Stuff here will run on game start, when index.html loads.
var params = PluginManager.parameters('ReFraction Battle Index and element calculations');
// define persistent stuff as properties of the namespace, e.g.
$.test = params['test number to display'];
// Other parameter stuff here...
// Define a function on your global namespace.
$.calculateVariables = function() {
// the code in here will run when this function is called
$gameVariables.setValue(92, 1);
console.log($gameVariables.value(92));
};
})(Poppie.eleCalc); // pass the plugin's namespace in as the first parameter, $ var params = PluginManager.parameters('ReFraction Battle index and element calculations'); var params = PluginManager.parameters('ReFraction Battle index and element calculations');
