Hello everyone. 😀😀😀
I wanted to know if with this Tips & Tricks I could do custom things.
This is the following code:
<Before Eval>
// Declare the State ID used for form 1.
var SSJ1 = 168;
// Declare the State ID used for form 2.
var SSJ2 = 169;
// Declare the State ID used for form 3.
var SSJ3 = 170;
// Check if the user is affected with form 1.
if (user.isStateAffected (SSJ1)) {
// If the user has form 1, make the user ascend to form 2.
user.addState (SSJ2);
// Check if the user is affected with form 2.
} else if (user.isStateAffected (SSJ2)) {
// If the user has form 2, make the user ascend to form 3.
user.addState (SSJ3);
// Check if the user is affected with form 3.
} else if (user.isStateAffected (SSJ3)) {
// If the user has form 3, make the user reapply form 3.
user.addState (SSJ3);
// This will run if the user has no forms ..
} else {
// If the user has no forms, make the user ascend to form 1.
user.addState (SSJ1);
}
</ Before Eval>
I would like to ensure that every transformation has its own animation, furthermore, to make sure that there was a fourth transformation which, however, is activated only for 33% of possibilities.
☺️🤣😉
I wanted to know if with this Tips & Tricks I could do custom things.
This is the following code:
<Before Eval>
// Declare the State ID used for form 1.
var SSJ1 = 168;
// Declare the State ID used for form 2.
var SSJ2 = 169;
// Declare the State ID used for form 3.
var SSJ3 = 170;
// Check if the user is affected with form 1.
if (user.isStateAffected (SSJ1)) {
// If the user has form 1, make the user ascend to form 2.
user.addState (SSJ2);
// Check if the user is affected with form 2.
} else if (user.isStateAffected (SSJ2)) {
// If the user has form 2, make the user ascend to form 3.
user.addState (SSJ3);
// Check if the user is affected with form 3.
} else if (user.isStateAffected (SSJ3)) {
// If the user has form 3, make the user reapply form 3.
user.addState (SSJ3);
// This will run if the user has no forms ..
} else {
// If the user has no forms, make the user ascend to form 1.
user.addState (SSJ1);
}
</ Before Eval>
I would like to ensure that every transformation has its own animation, furthermore, to make sure that there was a fourth transformation which, however, is activated only for 33% of possibilities.
☺️🤣😉