Jump to content

Create Cvar, then pass it to set. Is it possible?

Recommended Posts

Hello guys,


I'm working on a heavy modification of my favorite mod, but I ran into a show stopper. I would like to create a dynamic cvar to hold a random number and then pass it to <set> that would rewrite an existing static value inside some xml code. What I tried so far doesn't work and gives me error that the value is not a correct value, or something along those lines.


Is it even possible to do what I'm trying to achieve here? And if so, how can this be done?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...