0 Members and 2 Guests are viewing this topic.
I believe it's possible. maybe if you store "appv" to a string and the name into other string and concentrate it, it would work.
Quote from: ztrumpet on October 21, 2011, 04:10:54 pmIf you don't understand some of the Asm stuff, just skip it. I don't understand any of it... can anyone answer my first question?
If you don't understand some of the Asm stuff, just skip it.
Quote from: parser padwan on October 21, 2011, 04:18:10 pmQuote from: ztrumpet on October 21, 2011, 04:10:54 pmIf you don't understand some of the Asm stuff, just skip it. I don't understand any of it... can anyone answer my first question?Alright, I'll try my best to explain how to do it without writing it for you. First you have to create the variable. This is done with GetCalc(PTR,SIZE). SIZE will almost* always 756 bytes, as it's 63*12. The pointer will point to some information like this:7,96,Picture Number (Pic1 is 0, Pic2 is 1, ... Pic0 is 10),0This is [0760##00] in hex.GetCalc will return a pointer to the new file. You then have to fill the file with data. The 756 bytes are all the picture info. You can just copy 756 bytes from the main buffer (L6) into it if you want.This is the basic premise. I'm not 100% sure this will work - I've never done this in Axe before, but I know I'm on the right track. Good luck getting this to work - if it doesn't, let me know, and I'll try and figure out what I screwed up. P.S. You know how I kept saying "almost*"? Well, that's because you can have different sized pictures, but they may cause unpredictable behavior. Edit: After talking to Runer I found out that he recommends making it 768 bytes and then being able to copy the whole buffer.
now all I need is to find out how to input strings...
GetCalc("appvWHATEVER",768*number_of_pictures)->A[Pic1]->Str1[Pic2]->Str2 . . . etcCopy(Str1,A,768)Copy(Str2,A+768,768) . . . etc
:.players position is (X,Y):If getKey(53):GetCalc("varA")->D:GetCalc("carB")->E:X->A:Y->B:A->float{D}:B->float{E}:End