Hello, i'm trying to rework my class system since the having a lot of autorun event is not a good solution for serv performance lol.
Â
Do we agree that the player variable trigger work whenever it get changed ? (True/False or change in the integer/string ?)
Â
Also, i have trouble dealing with it, i've been doing some test and nothing work.
_______________________________
Â
Here's an exemple :Â
Â
Imagine one of my player who have two spell, "Spirit Shapeshift" and "Dog Shapeshift", let's say the player is in Spirit form normally, when he use the spell "Dog Shapeshift" it launch a common event and in this common event there is a variable "Spirit Shape" that goes off and a "Dog Shape" variable that goes on.
Â
Also when the player use the spell "Spirit Shapeshift" the variable goes on, and the "Dog Shape" variable goes off.
Â
Depending on this i would want to create another common event with "spirit shape" as player variable trigger and this event will strip the player of his dog spell (Using a conditionnal If dog shape is off ).
Â
To verify my theory, i've created a common event with the player variable "spirit shape" as a trigger and just made it say a test chatbox phrase like "This is a test". But when i use the spells that change the spirit shape variable, nothing ever happen.
Â
____________________________________
Â
Am i doing something wrong or i'm using the player variable trigger in a wrong way ? Help Please ^^
Question
Beast Boyz
Hello, i'm trying to rework my class system since the having a lot of autorun event is not a good solution for serv performance lol.
Â
Do we agree that the player variable trigger work whenever it get changed ? (True/False or change in the integer/string ?)
Â
Also, i have trouble dealing with it, i've been doing some test and nothing work.
_______________________________
Â
Here's an exemple :Â
Â
Imagine one of my player who have two spell, "Spirit Shapeshift" and "Dog Shapeshift", let's say the player is in Spirit form normally, when he use the spell "Dog Shapeshift" it launch a common event and in this common event there is a variable "Spirit Shape" that goes off and a "Dog Shape" variable that goes on.
Â
Also when the player use the spell "Spirit Shapeshift" the variable goes on, and the "Dog Shape" variable goes off.
Â
Depending on this i would want to create another common event with "spirit shape" as player variable trigger and this event will strip the player of his dog spell (Using a conditionnal If dog shape is off ).
Â
To verify my theory, i've created a common event with the player variable "spirit shape" as a trigger and just made it say a test chatbox phrase like "This is a test". But when i use the spells that change the spirit shape variable, nothing ever happen.
Â
____________________________________
Â
Am i doing something wrong or i'm using the player variable trigger in a wrong way ? Help Please ^^
Â
Â
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now