• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

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

mr.devolver

Refugee
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?

 
Back
Top