Jump to content

patch a range of columns of 2da (solved)


Recommended Posts

Hi. I need to patch every column in a 2da after column x, but I don't know how many columns there are so I can't just do it one at a time.

So I need to go from 

COUNT_2DA_COLS cols
	SET_2DA_ENTRY 29 4 cols 0

To

COUNT_2DA_COLS cols
	SET_2DA_ENTRY 29 4->cols cols 0

How would I do that?

Edited by Allbrother
Link to comment
1 hour ago, subtledoctor said:

Y'know Jarno you could just type the clarification yourself. Bitching about someone not being helpful enough in the same breath that you are being completely unhelpful is not a good look.

Right, and what's the general casein protein amount in the powdered milk ? How the cheese should you know, well there's a whey... :rotflmao:

As in, did I ever say I knew ? No.

Link to comment

Thanks guys.

 

TBF telling me FOR could do it was helpful, I had picked it up (though only half understood it) from a tutorial a while ago and was using it to find the row to patch in the same tp2, but for some inexplicable reason had decided it couldn't do what I needed it to with the cols 🤦‍♂️. Took some figuring out how to write it and the exact code would've saved some time (thanks subtledoctor) but got it working eventually

Edited by Allbrother
Link to comment
On 3/18/2021 at 11:25 PM, lynx said:

I would have linked it directly, but the docs don't have any anchors. 🤷‍♂️

Right, next you'll be telling me that it has no index at the bottom of the page that links to most subjects in it either. Use a different browser please and recheck again. Now, it might not havwe everything, but most sections have quite few index locations that can be indexed to, from which you can describe the portion you would need to look out for... Or just quote the thing yourself.

31 minutes ago, Almateria said:

I think you should leave posting in the „Modding Q&A” section of the forum to people who are able and willing to provide answers, Jarno. 🙂

Somehow you forgot the meaning of the "Q" in that entirely. It's "Questions", not "Quit". But you can go ahead and do that on your own.

Edited by Jarno Mikkola
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...