NoobImbaPro
You can change this now in User CP.
- Reaction score
- 60
is there any way when I set a member from a struct to perform an action??
Like I have a
when I do this
I want to update my multiboard (my function UpdateMultiboard(player p))
I like to try to avoid a method setI(int value) witch I set the the i and then update multiboard or put a line "call Update..." every time i set the member. I have too many members, that's why. Even operators can't help me as they need a struct first and not an integer.
EDIT: Maybe I was not clear enough. I want to call a method/function when I type this "set asd.i=5"
and then i can call the update. But only for a certain struct like asd
Like I have a
JASS:
struct asd
integer i
endstruct
when I do this
JASS:
set asd.i=5
I want to update my multiboard (my function UpdateMultiboard(player p))
I like to try to avoid a method setI(int value) witch I set the the i and then update multiboard or put a line "call Update..." every time i set the member. I have too many members, that's why. Even operators can't help me as they need a struct first and not an integer.
EDIT: Maybe I was not clear enough. I want to call a method/function when I type this "set asd.i=5"
and then i can call the update. But only for a certain struct like asd