Trigger Reference of GS2-Stamina Script

Reference of event triggers that call extended scripts

Trigger

overflow

GS2-Script executed when stamina exceeds the overflow maximum

Synchronous Execution Script

Script and GS2-Script executed when stamina exceeds the overflow maximum are executed synchronously in that order.

Request
TypeDescription
namespaceNamespaceNamespace
staminaModelStaminaModelStamina Model
staminaStaminaStamina
overflowValuelongOverflow value
Result
TypeRequiredDefaultValue LimitsDescription
Implementation Example
namespace = args.namespace
staminaModel = args.staminaModel
stamina = args.stamina
overflowValue = args.overflowValue

result = {
}