Bladestorm Games Posted July 12, 2023 Share Posted July 12, 2023 (edited) Hello, Im seeing if its possible to set a CVAR to an Attribute's value, something like this: <Config> <append> <buff name="buffTestStatTrack" name_key="buffTestStatTrackName" description_key="buffTestStatTrackDesc" icon="ui_game_symbol_add" icon_color="0,255,0"> <stack_type value="replace"/> <duration value="0"/> <display_value value="stat_track"/> <display_value_key value="{0}"/> <effect_group> <triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" cvar="stat_track" operation="set" value="@attStrength"/> </effect_group> </buff> </append> </Config> Test #1) I tried using "@attStrength" but it doesnt seem to get the value. Displayed value shows 0. Test #2) I tried using "#attStrength" but it generates an error. (I thought it might work since I thought attStrength would be a game variable) Edited July 12, 2023 by Bladestorm Games (see edit history) Link to comment Share on other sites More sharing options...
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