Yay! I did it! Thx Sanktoras!
Basically its trivial now.
If anyone else need to get any info from ability or behavior here how to do it:
1) Save your ability to variable.
NOTE: ID of your ability have to be exactly same as ID of its button. And if you save behavior, then you need to specify behavior type.
2) In parameter of your action or condition you need to use conversion function.
NOTE: There are few of them. Use correct one. If its text you after then use "Convert Game Text" function. If its asset like icon, then use "Convert Game Asset" and so on.
3) In path parameter use "Catalog Field Value Get" and set catalog value from preset. If you after ability info - go for button, if its behavior info then go for behavior. Everything else is self-explanatory.
Hello, i have a problem. For my UI i need to get string path of image from Game LInk variable.
Lets say i have global variable "Hero Active Skill" with class "Game Link/Ability"
Now in some trigger i need to call icon of Hero Active Skill. I know i can do it with "Convert Game Asset" but how do i get "Hero Active Skill" icon path?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Yay! I did it! Thx Sanktoras!
Basically its trivial now.
If anyone else need to get any info from ability or behavior here how to do it:
1) Save your ability to variable.
NOTE: ID of your ability have to be exactly same as ID of its button. And if you save behavior, then you need to specify behavior type.
2) In parameter of your action or condition you need to use conversion function.
NOTE: There are few of them. Use correct one. If its text you after then use "Convert Game Text" function. If its asset like icon, then use "Convert Game Asset" and so on.
3) In path parameter use "Catalog Field Value Get" and set catalog value from preset. If you after ability info - go for button, if its behavior info then go for behavior. Everything else is self-explanatory.
Hello, i have a problem. For my UI i need to get string path of image from Game LInk variable.
Lets say i have global variable "Hero Active Skill" with class "Game Link/Ability"
Now in some trigger i need to call icon of Hero Active Skill. I know i can do it with "Convert Game Asset" but how do i get "Hero Active Skill" icon path?