How can I use TextCrawler to assist with repetitive programming?

Tool for Search and Replace across multiple files.
Post Reply
DeltaQ
Posts: 1
Joined: Mon Jul 04, 2022 6:26 pm

How can I use TextCrawler to assist with repetitive programming?

Post by DeltaQ »

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

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");
To this:

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");
Basically I need it to replace one of the numbers with a different number each time, in this case, in increments of 4.
Post Reply