How can I use TextCrawler to assist with repetitive programming?
Posted: Mon Jul 04, 2022 6:31 pm
So what I'm trying to do is use TextCrawler to replace a certain number in a list of lines, but not with the same number each time. For instance:
I need to change this
To this:
Basically I need it to replace one of the numbers with a different number each time, in this case, in increments of 4.
I need to change this
Code: Select all
SpawnObject("StaticObj_Wall_IndCnc4_4", "4050.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");
SpawnObject("StaticObj_Wall_IndCnc4_4", "4050.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");
SpawnObject("StaticObj_Wall_IndCnc4_4", "4050.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");
Code: Select all
SpawnObject("StaticObj_Wall_IndCnc4_4", "4054.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");
SpawnObject("StaticObj_Wall_IndCnc4_4", "4058.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");
SpawnObject("StaticObj_Wall_IndCnc4_4", "4062.000000 300.000000 7550.000000", "90.000000 0.000000 0.000000");