PDA

View Full Version : Including module in ruleset, and controling default activation?



Blacky
January 20th, 2014, 01:48
Is it possible to ship a module with a ruleset?

And if so, to control the default activation at campaign creation?

Moon Wizard
January 20th, 2014, 06:53
If the ruleset is part of a SmiteWorks store product, the updater can be configured to install a set of files, including ruleset, modules and extensions, aspart of the product install.

There is no way to special way to activate a module on load of a ruleset, but you could perhaps use the Module.activate function somewhere in one of the global script onInit event functions.

Regards,
JPG

Blacky
January 20th, 2014, 10:32
Thanks.

I also thought about making some modules into extensions, but I guess the issue is the same about packaging it with a ruleset?

Moon Wizard
January 20th, 2014, 18:30
Yeah, it would be the same thing whether ruleset or extension.
JPG