• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

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